/* Public website. Contrast-checked colours (WCAG AA), 16px base, visible focus. */
:root {
  --ink: #10213a;
  --muted: #4a5568;
  --bg: #ffffff;
  --alt: #f3f6fb;
  --line: #d6dde8;
  --brand: #0b5fff;
  --brand-ink: #ffffff;
  --brand-dark: #0847c2;
  --soon: #6b4e00;
  --soon-bg: #fff4d1;
  --ok: #138a4b;
  --busy: #0b5fff;
  --warn: #c27c00;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 33, 58, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; }
h3 { font-size: 1.15rem; }
.h2--sub { margin-top: 3rem; font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand__logo { height: 44px; width: auto; display: block; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img { height: 28px; width: auto; }
.brand { font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--brand-dark); }
.lang select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

/* Buttons */
.btn {
  display: inline-block; background: var(--brand); color: var(--brand-ink); text-decoration: none;
  font-weight: 700; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--brand);
  font-size: 1rem; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.nav a.btn, .nav a.btn:hover { color: var(--brand-ink); }
.btn--ghost { background: transparent; color: var(--brand-dark); }
.btn--ghost:hover { background: var(--alt); }
.btn--small { padding: 8px 14px; }
.btn--block { display: block; text-align: center; margin-top: auto; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5rem; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--alt), #fff); padding: 72px 0 56px; }
.hero__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--brand-dark); font-size: 0.85rem; }
.hero__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.mock-row b { margin-left: auto; font-size: 0.9rem; }
.mock-total { display: flex; justify-content: space-between; padding: 14px 6px 4px; font-weight: 600; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot--ok { background: var(--ok); }
.dot--busy { background: var(--busy); }
.dot--warn { background: var(--warn); }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--alt); }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--plans { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.feature p { color: var(--muted); margin: 0; }
.feature--soon { background: #fcfcfd; }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, #e8f0ff, #dbe7ff); color: var(--brand-dark); }
.feature--soon .feature__icon { background: var(--alt); color: var(--muted); }
.badge { align-self: flex-start; display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soon-bg); color: var(--soon); margin-bottom: 10px; }
.badge--accent { background: var(--brand); color: #fff; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }

/* Plans */
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price { margin: 0.4rem 0 0.2rem; }
.price b { font-size: 2rem; }
.price span { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.ticks li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Forms */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #8a96a8; border-radius: 9px; background: #fff;
}
.field--check { display: flex; gap: 10px; align-items: flex-start; }
.field--check input { margin-top: 5px; width: 20px; height: 20px; }
.field--check label { font-weight: 400; }
.help { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.errorlist { color: var(--err); list-style: none; padding: 0; margin: 6px 0 0; font-weight: 600; }
.form .btn { margin-top: 20px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.prose h2 { text-align: left; font-size: 1.3rem; margin-top: 1.6em; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer p { margin: 0; }

@media (max-width: 900px) {
  .hero__inner, .grid--3, .steps { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  .brand__logo { height: 36px; }
  .fields { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
