:root {
  --page: #0e1c38;
  --page-2: #102444;
  --text: #f7f9fc;
  --heading: #ffffff;
  --soft: #b7c3d6;
  --line: rgba(255, 255, 255, 0.12);
  --card: #ffffff;
  --card-text: #16233c;
  --card-soft: #5c6d86;
  --card-border: transparent;
  --rail: rgba(255, 255, 255, 0.82);
  --orange: #ff4d22;
  --header: #ffffff;
  --shadow: 0 16px 40px rgba(4, 10, 24, 0.18);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --header-h: 76px;
}

[data-theme="light"] {
  --page: #f4f6f9;
  --page-2: #ffffff;
  --text: #16233c;
  --heading: #0e1c38;
  --soft: #52647c;
  --line: rgba(14, 28, 56, 0.12);
  --card: #ffffff;
  --card-text: #16233c;
  --card-soft: #52647c;
  --card-border: #e4ebf3;
  --rail: #24344f;
  --shadow: 0 12px 32px rgba(16, 32, 58, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--page);
  color: var(--text);
  line-height: 1.55;
}

img, svg { display: block; }

button, input, select, textarea { font-family: inherit; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 { color: var(--heading); letter-spacing: -0.03em; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 128px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  color: #1c2430;
  height: var(--header-h);
  border-bottom: 1px solid #eef1f5;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 0 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e4e7ee;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.menu-btn:hover { border-color: #cfd5e0; }

.menu-bars {
  display: grid;
  gap: 5px;
}

.menu-bars i {
  display: block;
  width: 16px;
  height: 1.6px;
  background: #1a1a1a;
  border-radius: 2px;
}

.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

.menu-bars i { transition: transform 0.15s ease, opacity 0.15s ease; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #141414;
}

.logo-text {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 15px;
}

.logo-text span { font-weight: 800; }

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  text-decoration: none;
  color: #2c3340;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-active { color: #111; }

.nav a.is-active { font-weight: 700; }

.header-arc {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 128px;
  height: 20px;
  z-index: 41;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-dark:hover { background: #000; }

.header-cta { position: relative; z-index: 2; white-space: nowrap; }

.cta-short { display: none; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 28, 0.46);
  z-index: 60;
}

.overlay[hidden] { display: none; }

.drawer {
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  color: #16233c;
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
  overflow: auto;
}

.drawer-top,
.chat-head,
.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-top strong {
  letter-spacing: 0.08em;
  font-size: 14px;
}

.drawer-lead { color: #52647c; }

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav a {
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 4px 0;
  color: #0e1c38;
}

.drawer-theme {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.drawer-theme span {
  margin-right: 6px;
  color: #52647c;
  font-size: 14px;
}

.drawer-theme button,
.icon-x {
  border: 1px solid #e1e6ee;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  color: #16233c;
}

.drawer-theme button[aria-pressed="true"] {
  background: #111;
  color: #fff;
  border-color: #111;
}

.icon-x {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.rail {
  position: fixed;
  z-index: 25;
  color: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rail-left {
  left: 16px;
  top: 46%;
  transform: translateY(-50%);
  gap: 26px;
}

.rail-right {
  right: 18px;
  top: 42%;
  transform: translateY(-50%);
  gap: 16px;
}

.theme-switch {
  width: 48px;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
}

.theme-switch button {
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 48px;
  padding: 12px 0;
  color: #6d7480;
  background: #e7ebf1;
}

.theme-switch button span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.theme-switch [data-theme-set="light"] { border-radius: 999px 999px 0 0; }

.theme-switch [data-theme-set="dark"] { border-radius: 0 0 999px 999px; }

.theme-switch [data-theme-set="light"][aria-pressed="true"] {
  background: #f5f7fa;
  color: #161616;
}

.theme-switch [data-theme-set="dark"][aria-pressed="true"] {
  background: #161616;
  color: #fff;
}

.totop {
  display: flex;
  align-items: center;
  gap: 10px;
}

.totop .line,
.rail-right .line {
  width: 1px;
  background: currentColor;
  opacity: 0.45;
}

.totop .line { height: 58px; }

.rail-right .line { height: 36px; }

.totop button,
.follow {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0;
}

.follow { cursor: default; letter-spacing: 0.14em; }

.social {
  color: inherit;
  opacity: 0.92;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.social:hover { color: var(--orange); }

.fab {
  position: fixed;
  z-index: 26;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.search-fab {
  left: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #152848;
  color: #fff;
}

[data-theme="light"] .search-fab {
  background: #0e1c38;
  border-color: transparent;
}

.chat-fab {
  right: 22px;
  bottom: 20px;
  width: 68px;
  height: 68px;
  border: 0;
  background: #fff;
}

.chat-fab:hover,
.search-fab:hover { transform: translateY(-2px); }

.cookie {
  position: fixed;
  z-index: 27;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 180px));
  background: #fff;
  color: #1d2430;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 12px 14px 22px;
}

.cookie[hidden] { display: none; }

.cookie p { font-size: 15px; }

.cookie .icon-x { border: 0; background: transparent; font-size: 26px; }

.chat-panel,
.search-dialog {
  position: fixed;
  z-index: 55;
}

.chat-panel[hidden],
.search-dialog[hidden] { display: none; }

.chat-panel {
  right: 22px;
  bottom: 100px;
  width: min(360px, calc(100% - 32px));
}

.search-dialog {
  inset: 0;
  background: rgba(8, 14, 28, 0.46);
  display: grid;
  place-items: start center;
  padding-top: 12vh;
}

.search-card,
.chat-card {
  background: #fff;
  color: #16233c;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.search-card { width: min(640px, calc(100% - 32px)); }

.chat-card h2,
.search-card h2 {
  font-size: 20px;
  color: #0e1c38;
}

.chat-card p,
.search-card p { color: #52647c; margin: 8px 0 14px; }

.hero {
  padding: 58px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  min-height: calc(100vh - var(--header-h) - 40px);
  min-height: calc(100dvh - var(--header-h) - 40px);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.hero h1 {
  margin: 14px 0 22px;
  max-width: 11.2em;
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 800;
  line-height: 1.12;
}

.lede {
  position: relative;
  max-width: 460px;
  padding-left: 20px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.65;
}

.lede::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 2px;
  height: 48px;
  background: var(--soft);
  opacity: 0.7;
}

.hero-kicker {
  max-width: 340px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--heading);
}

.tool-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 36px;
}

.icon-bubble {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .icon-bubble {
  border: 1px solid #e6ebf2;
  box-shadow: 0 10px 24px rgba(16, 32, 58, 0.08);
}

.tool h2 {
  margin: 16px 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.tool p {
  color: var(--soft);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 250px;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  background: var(--page);
}

.section:nth-of-type(even) { background: var(--page-2); }

.section h2 {
  margin: 12px 0 16px;
  max-width: 16em;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.15;
}

.section-lead {
  max-width: 640px;
  color: var(--soft);
  font-size: 17px;
  margin-bottom: 32px;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.grid-2 { grid-template-columns: 1fr 1fr; gap: 0 48px; }

.card {
  background: var(--card);
  color: var(--card-text);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(5, 12, 28, 0.06);
}

.card h3 { color: var(--card-text); font-size: 20px; margin: 8px 0 10px; }

.card p { color: var(--card-soft); }

.card .btn { margin-top: 18px; }

.num {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-grid { margin-top: 8px; }

.catalogue article {
  padding: 22px 0 22px 16px;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--orange);
}

.catalogue h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.catalogue p { color: var(--soft); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.reasons h3 { font-size: 18px; margin-bottom: 6px; }

.reasons p { color: var(--soft); }

.promise-row {
  margin-top: 36px;
}

.promise-row p {
  color: var(--soft);
  max-width: 760px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 8px 0 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.step-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #0e1c38;
  font-weight: 800;
  margin-bottom: 12px;
}

[data-theme="light"] .step-index {
  background: #0e1c38;
  color: #fff;
}

.steps h3 { font-size: 18px; margin-bottom: 6px; }

.steps p { color: var(--soft); font-size: 14.5px; }

.engagements {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.engagements h3 { font-size: 22px; margin-bottom: 14px; }

.engagements ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.engagements li { color: var(--soft); }

.engagements strong { color: var(--heading); font-weight: 700; }

.faq-wrap {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.faq {
  border-bottom: 1px solid var(--line);
  padding: 16px 0 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: var(--heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--orange);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.faq[open] summary::after { content: "–"; }

.faq p {
  color: var(--soft);
  margin-top: 10px;
  max-width: 62ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.email-line {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 800;
}

.email-line a {
  color: var(--heading);
  text-decoration: none;
}

.email-line a:hover { color: var(--orange); }

.fine {
  margin-top: 8px;
  color: var(--soft);
  font-size: 13px;
}

.form label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--card-text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form input,
.form select,
.form textarea,
.chat-card input,
.chat-card textarea,
.search-card input {
  width: 100%;
  border: 1px solid #d9e1ec;
  background: #f6f8fb;
  color: #14233c;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}

.form textarea,
.chat-card textarea { min-height: 130px; resize: vertical; }

.chat-card label {
  display: block;
  margin: 10px 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.form .btn,
.chat-card .btn { margin-top: 16px; }

.form-note { min-height: 1.2em; margin-top: 10px; color: #52647c; font-size: 14px; }

.form-note.is-error { color: #b42318; }

.search-card input { margin-top: 12px; }

.search-results {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  max-height: 360px;
  overflow: auto;
}

.search-results a {
  display: block;
  text-decoration: none;
  padding: 12px 8px;
  border-radius: 10px;
  color: #16233c;
}

.search-results a:hover,
.search-results a:focus-visible { background: #f4f6f9; }

.search-results small {
  display: block;
  color: #667790;
  margin-top: 2px;
}

.footer {
  background: #0a1628;
  color: #c5d0e0;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.footer-label {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer a {
  display: block;
  color: #d5deea;
  text-decoration: none;
  margin: 6px 0;
}

.footer a:hover { color: #fff; }

.footer-base {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 8px;
}

.privacy { font-size: 13px; max-width: 760px; color: #9eacbf; }

body.menu-open { overflow: hidden; }

body.has-cookie .footer { padding-bottom: 96px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .rail { display: none; }
  .wrap { width: min(1120px, calc(100% - 48px)); }
  .hero-grid,
  .split,
  .faq-wrap,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .cookie { width: min(560px, calc(100% - 40px)); }
}

@media (max-width: 800px) {
  .grid-3,
  .steps,
  .engagements ul,
  .reasons,
  .footer-grid,
  .form-row { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .tool-grid,
  .grid-2 { grid-template-columns: 1fr; }
  .header-inner { padding: 0 12px; }
  .brand { gap: 8px; }
  .logo { gap: 8px; }
  .logo-text { font-size: 12px; letter-spacing: 0.03em; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-cta { padding: 10px 14px; }
  .hero { padding-top: 28px; }
  .hero h1 { max-width: none; font-size: 32px; }
  .search-fab { left: 12px; bottom: 112px; width: 46px; height: 46px; }
  .chat-fab { right: 12px; bottom: 104px; width: 56px; height: 56px; }
  .cookie {
    left: 68px;
    right: 68px;
    width: auto;
    transform: none;
    bottom: 14px;
  }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 172px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .rail, .search-fab, .chat-fab, .cookie, .overlay, .header-arc, .menu-btn, .chat-panel, .search-dialog {
    display: none !important;
  }
  .header { position: static; }
  body { background: #fff; color: #000; }
}
