:root {
  --navy: #0a336f;
  --blue: #0461a8;
  --cyan: #1eb0f0;
  --ink: #0f1b2d;
  --muted: #4a5a70;
  --line: #dfe6ef;
  --bg: #ffffff;
  --bg-soft: #f3f7fc;
  --card: #ffffff;
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--blue); }

/* Language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.nav .lang-switch a { padding: 5px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.nav .lang-switch a[aria-current] { background: var(--navy); color: #fff; }
.nav .lang-switch a:hover:not([aria-current]) { color: var(--blue); background: var(--bg-soft); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 6px 18px rgba(4, 97, 168, .28); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(4, 97, 168, .34); }
.btn-ghost { border: 1.5px solid var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.nav .btn { padding: 9px 18px; font-size: 15px; color: #fff; white-space: nowrap; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(30, 176, 240, .22), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(4, 97, 168, .14), transparent 60%),
    var(--bg-soft);
  padding: 88px 0 96px;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: rgba(4, 97, 168, .08); padding: 6px 12px; border-radius: 999px; }
/* Byline under the hero eyebrow */
.byline { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; margin: 18px 0 18px; color: var(--navy); letter-spacing: -.02em; }
h1 .accent { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Signature mock */
.mock {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(10, 51, 111, .28);
  overflow: hidden; font-size: 14px;
}
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; background: #f6f8fb; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4dbe5; }
.mock-body { padding: 20px 22px 22px; }
.mock-line { height: 9px; background: #e8edf3; border-radius: 5px; margin-bottom: 9px; }
.mock-line.w80 { width: 80%; } .mock-line.w60 { width: 60%; } .mock-line.w90 { width: 90%; }
.sig { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; }
.sig img { width: 54px; height: 54px; }
.sig strong { display: block; color: var(--navy); font-size: 15px; }
.sig small { color: var(--muted); display: block; line-height: 1.45; }
.sig-banner { margin-top: 14px; border-radius: 8px; padding: 10px 14px; color: #fff; font-weight: 600; font-size: 13px; background: linear-gradient(90deg, var(--navy), var(--blue) 60%, var(--cyan)); }
.injected { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 600; color: #11804a; background: #e7f7ee; padding: 4px 10px; border-radius: 999px; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; margin: 12px 0 14px; color: var(--navy); letter-spacing: -.01em; }
h3 { font-size: 19px; margin: 0 0 8px; color: var(--navy); }
.muted { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 16px 34px -18px rgba(10, 51, 111, .3); transform: translateY(-2px); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(4, 97, 168, .12), rgba(30, 176, 240, .18)); color: var(--blue);
}
.icon svg { width: 22px; height: 22px; }

.alt { background: var(--bg-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 26px 26px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Platform */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.platform-visual { display: grid; place-items: center; padding: 30px; }
.platform-visual img { width: min(260px, 65%); height: auto; }

/* Offer */
.offer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.offer .card { padding: 32px; }
.offer .tag { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.offer .card.featured { background: linear-gradient(160deg, var(--navy), var(--blue)); border: none; color: #fff; }
.offer .card.featured h3, .offer .card.featured .tag { color: #fff; }
.offer .card.featured p, .offer .card.featured li { color: rgba(255, 255, 255, .88); }
.offer ul { margin: 16px 0 24px; padding-left: 20px; color: var(--muted); }
.offer .featured .btn-ghost { border-color: #fff; color: #fff; }
.offer .featured .btn-ghost:hover { background: #fff; color: var(--navy); }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product { padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.product p { margin: 0; }
.product .btn { margin-top: auto; }
.product-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-head h3 { font-size: 24px; margin: 0; }
.product-tag { font-weight: 600; color: var(--blue) !important; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e7f7ee; color: #11804a; }
.muted-badge { background: var(--bg-soft); color: var(--muted); }
.product.soon { border-style: dashed; background: transparent; }

/* About */
#a-propos .split { align-items: start; }
section[id] { scroll-margin-top: 68px; }
.hist-title { margin-top: 28px; }
.timeline { list-style: none; padding: 0 0 0 18px; margin: 14px 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 14px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px #fff; }
.timeline strong { display: block; color: var(--navy); }
.timeline span { color: var(--muted); font-size: 16px; }
.about-facts { display: grid; gap: 16px; }
.fact { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; }
.fact strong { font-size: 28px; color: var(--navy); line-height: 1.2; }
.fact span { color: var(--muted); font-size: 15px; }
.offer.single { grid-template-columns: 1fr; }

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--navy), var(--blue) 65%, var(--cyan));
  color: #fff; text-align: center; border-radius: 22px; padding: 56px 28px;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 560px; margin: 0 auto 26px; }
.cta .btn { background: #fff; color: var(--navy); }
.cta .btn:hover { color: var(--navy); transform: translateY(-1px); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer img { height: 24px; width: auto; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }

/* Legal page */
.page { padding: 64px 0 88px; }
.page .container { max-width: 780px; }
.page h2 { font-size: 24px; margin-top: 36px; }
.todo { background: #fff6e0; border: 1px dashed #e0b44c; padding: 2px 6px; border-radius: 4px; }

/* Responsive */
@media (max-width: 920px) {
  .hero .container, .split, .offer, .products { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .hero { padding: 64px 0 72px; }
  .platform-visual { order: -1; }
  .hero .platform-visual img { width: 140px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav > a:not(.btn) { display: none; }
  .nav { gap: 10px; }
  .nav .btn { padding: 8px 14px; font-size: 14px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .brand img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
