/* ERPUltra public website. Hand-written, no framework, no third-party fonts or scripts. */
:root {
  --ink: #0b1b3a; --ink-2: #33415c; --muted: #5b6b86; --line: #e3e8f0; --bg: #ffffff; --soft: #f5f7fb;
  --brand: #1d4ed8; --brand-ink: #ffffff; --brand-soft: #e8efff; --ok: #0f7b4a; --warn-bg: #fff6e0; --warn-ink: #7a4d00;
  --radius: 12px; --shadow: 0 1px 2px rgba(11,27,58,.06), 0 8px 24px rgba(11,27,58,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--brand); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #93b4ff; outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { text-align: right; white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

.nav { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.nav nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 6px 0; }
.nav nav a.on { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo img { display: block; }
.logo b { color: var(--brand); font-weight: 800; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: var(--brand-ink) !important; border: 1px solid var(--brand);
  border-radius: 10px; padding: 9px 16px; font: 600 .95rem/1.2 var(--font); text-decoration: none !important; cursor: pointer; min-height: 40px; transition: background .15s, box-shadow .15s; }
.btn:hover { background: #1a43bd; box-shadow: var(--shadow); }
.btn.lg { padding: 12px 20px; font-size: 1rem; min-height: 46px; }
.btn.wide { width: 100%; }
.btn.ghost, .nav a.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.nav a.ghost { border: 0; }
.btn.ghost:hover { background: var(--soft); box-shadow: none; }

.hero { background: radial-gradient(1200px 400px at 80% -10%, var(--brand-soft), transparent 60%), var(--bg); padding: 56px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: .75em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 10px; }

.invoice { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; font-size: .9rem; }
.inv-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 12px; }
.inv-title { font-weight: 800; letter-spacing: .06em; font-size: .8rem; color: var(--muted); }
.tag { background: var(--warn-bg); color: var(--warn-ink); border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 700; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.inv-parties > div { display: flex; flex-direction: column; }
.label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice th { text-align: left; font-size: .75rem; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); padding: 6px 4px; }
.invoice td { padding: 6px 4px; border-bottom: 1px solid var(--soft); }
.invoice tr.grp td { font-weight: 700; background: var(--soft); font-size: .8rem; }
.inv-tot { margin: 10px 0 0 auto; width: min(260px, 100%); }
.inv-tot div { display: flex; justify-content: space-between; padding: 2px 0; }
.inv-tot dt { color: var(--muted); } .inv-tot dd { margin: 0; font-family: var(--mono); }
.inv-tot .grand { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; font-weight: 800; }
.inv-tot .grand dt { color: var(--ink); }

.band { background: var(--soft); border-block: 1px solid var(--line); padding: 48px 0; margin: 48px 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; }
.steps span { color: var(--ink-2); font-size: .95rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-block: 48px; }
.grid3 article, .feature-list article { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.grid3 p { color: var(--ink-2); margin: 0; }
.pricing-teaser { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

.page-head { padding: 48px 0 24px; text-align: center; }
.page-head .lead { margin-inline: auto; }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--soft); margin-top: 8px; }
.toggle button { border: 0; background: transparent; border-radius: 999px; padding: 8px 16px; font: 600 .95rem var(--font); color: var(--ink-2); cursor: pointer; min-height: 40px; }
.toggle button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.save { color: var(--ok); font-size: .8rem; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; margin-bottom: 40px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: .75rem; font-weight: 700; }
.amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.per { color: var(--muted); }
.limits { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; }
.limits li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.notes { max-width: 820px; margin-bottom: 56px; }
.notes li { margin-bottom: 10px; color: var(--ink-2); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 48px; }
.feature-list ul { padding-left: 18px; margin: 0; color: var(--ink-2); }
.feature-list li { margin-bottom: 6px; }

.form { display: grid; gap: 14px; margin-bottom: 56px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid #c9d2e0; border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { display: flex; gap: 10px; align-items: start; font-weight: 400; }
.form .check input { min-height: auto; margin-top: 5px; width: 18px; height: 18px; }
.hp { position: absolute; left: -5000px; }
.err { color: #b42318; margin: -6px 0 0; font-size: .9rem; }
.notice { border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.notice.ok { background: #e7f6ee; color: var(--ok); }
.notice.warn { background: var(--warn-bg); color: var(--warn-ink); }
.legal { max-width: 760px; padding: 32px 0 56px; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal-nav { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.legal-nav a { color: var(--ink-2); text-decoration: none; }
.legal-nav a.on { color: var(--ink); text-decoration: underline; }

.foot { border-top: 1px solid var(--line); background: var(--soft); padding: 40px 0 24px; margin-top: 24px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.foot a { display: block; color: var(--ink-2); text-decoration: none; margin-bottom: 6px; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 24px; }

@media (max-width: 900px) {
  .hero-in, .plans, .grid3, .feature-list, .foot-in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 32px; }
}
@media (max-width: 560px) {
  .steps, .form .two, .inv-parties { grid-template-columns: 1fr; }
  .nav nav { gap: 4px 12px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.industries { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.industries li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-block: 48px; }
.split > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.faq { max-width: 820px; margin-block: 48px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }


/* Product screenshots */
.shots { margin-block: 48px; }
.shots-grid { display: grid; gap: 40px; margin-top: 28px; }
.shots figure { margin: 0; display: flex; flex-direction: column-reverse; gap: 14px; }
.shots .frame { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: var(--soft); padding-top: 22px; position: relative; }
.shots .frame::before { content: ""; position: absolute; top: 8px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #d5dbe6; box-shadow: 14px 0 0 #d5dbe6, 28px 0 0 #d5dbe6; }
.shots img { display: block; width: 100%; height: auto; border-top: 1px solid var(--line); }
.shots figcaption { color: var(--ink-2); font-size: 1rem; max-width: 70ch; }
.shots figcaption strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: 2px; }

/* Informative pages (2026-10-30): features, industries, help centre, videos, tools, compare */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 14px 0 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #a7b1c4; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head.left { text-align: left; }
.page-head.left .lead { margin-inline: 0; max-width: 62ch; }
.narrow-l { max-width: 820px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-block: 24px 40px; }
.card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: #b8c6e3; box-shadow: var(--shadow); }
.card h2 { font-size: 1.15rem; margin: 0; } .card h3 { margin: 0; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.card ul { padding-left: 18px; margin: 4px 0; } .card li { margin-bottom: 4px; }
.more { color: var(--brand); font-weight: 600; font-size: .92rem; margin-top: auto; padding-top: 6px; }
.blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-block: 32px 48px; }
.blocks article { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.blocks h2 { font-size: 1.15rem; }
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; min-height: 40px; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.related { margin-block: 40px; }
.dashes { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.dashes li { padding-left: 22px; position: relative; color: var(--ink-2); }
.dashes li::before { content: "–"; position: absolute; left: 4px; color: var(--muted); }
.pre { white-space: pre-line; color: var(--ink-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 16px 0; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data td.num { text-align: right; }
table.data tr.lvl4 td { font-weight: 700; background: #fafbfd; }
table.data :target { background: #fff6e0; }
table.compare th[scope=row] { width: 22%; font-weight: 700; }
table.compare thead span { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.sources ul { padding-left: 18px; color: var(--ink-2); }
.help-search { display: flex; gap: 10px; max-width: 620px; margin: 20px auto 0; }
.page-head.left .help-search, .help-layout .help-search { margin-inline: 0; }
.help-search input { flex: 1; font: inherit; padding: 10px 14px; border: 1px solid #c9d2e0; border-radius: 10px; min-height: 46px; min-width: 0; }
.help-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 28px 0 56px; align-items: start; }
.help-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; font-size: .93rem; }
.help-side details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.help-side summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.help-side ul { list-style: none; padding: 4px 0 4px 10px; margin: 0; }
.help-side li a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; }
.help-side a[aria-current] { color: var(--brand); font-weight: 700; }
.results { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.results li { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.results a { font-weight: 700; font-size: 1.08rem; margin-right: 8px; }
.results p { margin: 4px 0 0; color: var(--ink-2); }
.prose { max-width: 760px; min-width: 0; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; } .prose h3 { margin-top: 1.3em; }
.prose ol, .prose ul { padding-left: 22px; } .prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--soft); }
.prose code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.prose blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; }
.prose blockquote p:last-child { margin: 0; }
.was-helpful { margin-top: 40px; padding: 16px 20px; background: var(--soft); border-radius: var(--radius); }
.was-helpful p { margin: 0; }
.help-contact { margin-block: 40px 56px; }
.video-card .thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--soft); margin-bottom: 6px; }
.video-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(11,27,58,.85); color: #fff; font: 600 .78rem var(--mono); padding: 2px 6px; border-radius: 6px; }
.player { margin: 16px 0 24px; }
.player video { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #0b1b3a; display: block; }
.chapters { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; }
.chapters button { font: 600 .85rem var(--mono); color: var(--brand); background: var(--brand-soft); border: 0; border-radius: 6px; padding: 4px 8px; cursor: pointer; min-height: 32px; margin-right: 6px; }
.video-page { padding: 24px 0; max-width: 960px; }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; margin-bottom: 24px; }
.calc .form { margin: 0; }
.seg { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.seg legend { font-weight: 600; padding: 0 6px; }
.seg label { display: flex; align-items: center; gap: 8px; font-weight: 500; min-height: 36px; }
.calc-out { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--soft); position: sticky; top: 84px; }
.calc-out div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.calc-out div[hidden] { display: none; }
.calc-out dt { color: var(--ink-2); } .calc-out dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; }
.calc-out .grand { border: 0; font-size: 1.15rem; } .calc-out .grand dt { color: var(--ink); font-weight: 700; }
.chapter-list { list-style: none; padding: 0; columns: 3 280px; column-gap: 28px; margin: 16px 0; }
.chapter-list li { break-inside: avoid; margin-bottom: 6px; }
.chapter-list a { color: var(--ink-2); text-decoration: none; display: flex; gap: 10px; }
.chapter-list a:hover { color: var(--brand); }
.chapter-list .mono { color: var(--brand); font-weight: 700; }
.pager { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0 40px; font-weight: 600; }
.consent { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 32px rgba(11,27,58,.18); border-radius: var(--radius); padding: 16px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; font-size: .93rem; color: var(--ink-2); }
.consent div { display: flex; gap: 8px; }
.foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
@media (max-width: 900px) {
  .help-layout, .calc { grid-template-columns: 1fr; }
  .help-side { position: static; max-height: none; order: 2; }
  .calc-out { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .help-search { flex-direction: column; } .foot-in { grid-template-columns: 1fr; } }

.center-chips { justify-content: center; }
.grid3 h3 a { color: var(--ink); text-decoration: none; }
.grid3 h3 a:hover { color: var(--brand); text-decoration: underline; }

.home-video { max-width: 960px; margin-block: 48px; }
