/* NugaCRM — nugacrm.com
   One stylesheet. Tokens first, then base, then components in page order. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  /* Brand: the CRM's navy, and the shades around it. */
  --navy: #313894;
  --navy-600: #2a307f;
  --navy-700: #222768;
  --navy-900: #12153d;
  --accent: #5566f0;
  --tint: #eef0fc;
  --tint-2: #e2e5fa;

  --ink: #12153a;
  --ink-2: #454a6e;
  --ink-3: #6c7091;
  --bg: #f6f7fb;
  --paper: #ffffff;
  --line: #e3e5ef;
  --line-2: #d3d6e6;
  --ok: #1d8f63;
  --danger: #c2334d;

  --font-head: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(18 21 58 / 0.06), 0 2px 8px rgb(18 21 58 / 0.04);
  --shadow: 0 2px 4px rgb(18 21 58 / 0.04), 0 12px 32px -8px rgb(18 21 58 / 0.14);
  --shadow-lg: 0 40px 80px -24px rgb(18 21 58 / 0.35), 0 16px 32px -16px rgb(18 21 58 / 0.22);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 112px);
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  /* 'locl' off: standard Cyrillic letterforms in Bulgarian too, as in the CRM itself. */
  font-feature-settings: 'cv11', 'ss01', 'locl' 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(85 102 240 / 0.18);
}

.h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  font-weight: 750;
}
.h4 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lead {
  margin-top: 18px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}
.btn:hover .icon {
  transform: translateX(2px);
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgb(49 56 148 / 0.7);
}
.btn--primary:hover {
  background: var(--navy-700);
}
.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 15px;
}
.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(246 247 251 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex: none;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand__word b {
  font-weight: 800;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav a:hover {
  color: var(--ink);
  background: var(--tint);
}

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

.lang {
  position: relative;
}
.lang summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary .icon {
  width: 16px;
  height: 16px;
}
.lang summary .icon:last-child {
  transition: transform 0.15s ease;
}
.lang[open] summary .icon:last-child {
  transform: rotate(180deg);
}
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lang__menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 15px;
}
.lang__menu a:hover {
  background: var(--tint);
}
.lang__menu a[aria-current='true'] {
  font-weight: 700;
  color: var(--navy);
}
.lang__menu a span:last-child {
  color: var(--ink-3);
  font-size: 13px;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  cursor: pointer;
}
.menu-toggle .icon--close {
  display: none;
}
.header.is-open .menu-toggle .icon--open {
  display: none;
}
.header.is-open .menu-toggle .icon--close {
  display: block;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }
  .header__cta {
    display: none;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.15s ease,
      transform 0.15s ease,
      visibility 0.15s;
  }
  .header.is-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    padding: 14px 12px;
    font-size: 17px;
    border-radius: var(--radius-sm);
  }
  .nav .nav__cta {
    margin-top: 10px;
    color: #fff;
    border-radius: 999px;
  }
  .nav .nav__cta:hover {
    color: #fff;
    background: var(--navy-700);
  }
}
@media (min-width: 961px) {
  .nav .nav__cta {
    display: none;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 18% 8%, rgb(85 102 240 / 0.16), transparent 70%),
    radial-gradient(50% 45% at 86% 18%, rgb(49 56 148 / 0.14), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0 0 38% 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(49 56 148 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(49 56 148 / 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 50% 20%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000, transparent 80%);
}
.hero__copy {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.hero__copy .lead {
  max-width: 720px;
  margin-inline: auto;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chips .icon {
  width: 18px;
  height: 18px;
  color: var(--ok);
}

.hero__visual {
  position: relative;
  margin-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
/* The page turns white halfway down the screenshot, whatever the width. */
.hero__visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 45%;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--paper);
}
.hero__visual .frame {
  max-width: 1080px;
  margin-inline: auto;
}
.hero__phone {
  position: absolute;
  right: max(0px, calc(50% - 600px));
  bottom: clamp(16px, 3vw, 40px);
  width: clamp(150px, 19vw, 236px);
}
@media (max-width: 720px) {
  .hero__visual {
    padding-bottom: 72px;
  }
  .hero__visual .frame {
    width: 84%;
    margin-inline: 0;
  }
  .hero__visual .frame__url {
    display: none;
  }
  .hero__phone {
    right: 0;
    bottom: 24px;
    width: 38%;
  }
  .hero__phone .phone {
    padding: 6px;
    border-radius: 26px;
  }
  .hero__phone .phone img {
    border-radius: 21px;
  }
  .hero__phone .phone::before {
    top: 12px;
    height: 10px;
  }
}

/* ---------- screenshot frames ---------- */

.frame {
  position: relative;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding-inline: 14px;
  background: #f1f2f8;
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-2);
}
.frame__url {
  margin-inline: auto;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.frame__bar::after {
  content: '';
  width: 47px;
}
.frame img {
  width: 100%;
}

.zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.zoom__hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgb(18 21 61 / 0.78);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.zoom:hover .zoom__hint,
.zoom:focus-visible .zoom__hint {
  opacity: 1;
  transform: none;
}

.phone {
  position: relative;
  border-radius: 38px;
  padding: 9px;
  background: var(--navy-900);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1.5px rgb(255 255 255 / 0.12);
}
.phone::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 50%;
  width: 26%;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--navy-900);
  z-index: 1;
}
.phone img {
  width: 100%;
  border-radius: 30px;
}

/* ---------- proof strip ---------- */

.proof {
  background: var(--paper);
  padding-bottom: clamp(48px, 7vw, 80px);
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.proof__item {
  padding: 28px 28px 26px;
}
.proof__item + .proof__item {
  border-left: 1px solid var(--line);
}
.proof__value {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--navy);
}
.proof__label {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof__item:nth-child(3) {
    border-left: 0;
  }
  .proof__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .proof__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof__item {
    padding: 20px;
  }
  .proof__item + .proof__item,
  .proof__item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .proof__value {
    font-size: 28px;
  }
}

/* ---------- journey ---------- */

.journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.journey__step {
  position: relative;
  padding: 22px 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.journey__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 38px;
  right: -15px;
  width: 16px;
  height: 2px;
  background: var(--line-2);
}
.journey__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
}
.journey__icon {
  position: absolute;
  top: 22px;
  right: 18px;
  color: var(--ink-3);
}
.journey__step h3 {
  margin-top: 16px;
}
.journey__step p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
@media (max-width: 1100px) {
  .journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .journey__step::after {
    display: none;
  }
}
@media (max-width: 640px) {
  .journey {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- features ---------- */

.features {
  display: grid;
  gap: clamp(64px, 9vw, 120px);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.feature:nth-child(even) .feature__copy {
  order: 2;
}
.feature__copy p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 17px;
}
@media (max-width: 900px) {
  .feature,
  .feature:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature:nth-child(even) .feature__copy {
    order: 0;
  }
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
}
.checklist .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--navy);
  stroke-width: 3;
}

/* ---------- mobile band ---------- */

.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-900);
  color: #e8eafb;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 85% 20%, rgb(85 102 240 / 0.35), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgb(49 56 148 / 0.6), transparent 70%);
}
.band h2 {
  color: #fff;
}
.band .eyebrow {
  color: #b9c0ff;
}
.band .lead {
  color: #c7cbee;
}
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.band .checklist li {
  color: #e8eafb;
}
.band .checklist .icon {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
}
.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
}
.phones .phone:nth-child(2) {
  margin-top: 48px;
}
@media (max-width: 900px) {
  .band__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .phones .phone:nth-child(3) {
    display: none;
  }
  .phones .phone:nth-child(2) {
    margin-top: 32px;
  }
}

/* ---------- audience + roles ---------- */

.audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  margin-bottom: 20px;
}
.card__icon .icon {
  width: 24px;
  height: 24px;
}
.card > p {
  margin-top: 8px;
  color: var(--ink-2);
}
.card--accent {
  background: linear-gradient(160deg, var(--tint) 0%, var(--paper) 55%);
}
@media (max-width: 800px) {
  .audience {
    grid-template-columns: minmax(0, 1fr);
  }
}

.roles {
  margin-top: 20px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-2);
}
.roles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.role {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
}
.role__tier {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
}
.role p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
@media (max-width: 800px) {
  .roles__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- security ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--navy);
  margin-bottom: 18px;
}
.tile p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- start steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: s;
}
.steps li {
  position: relative;
  padding-top: 64px;
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}
.steps li::after {
  content: '';
  position: absolute;
  top: 21px;
  left: 56px;
  right: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.steps li:last-child::after {
  display: none;
}
.steps p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
  .steps li::after {
    display: none;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}
.faq details[open] {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  color: var(--ink-3);
  transition: transform 0.2s ease;
}
.faq details[open] summary .icon {
  transform: rotate(180deg);
}
.faq details p {
  padding: 0 22px 22px;
  color: var(--ink-2);
}

/* ---------- demo request ---------- */

.demo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.demo__copy {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.demo__copy .checklist {
  margin-top: 28px;
}
@media (max-width: 900px) {
  .demo {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo__copy {
    position: static;
  }
}

.form {
  padding: clamp(22px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
.field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.field--full {
  grid-column: 1 / -1;
}
@media (max-width: 560px) {
  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.field label,
.field .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field label small {
  font-weight: 400;
  color: var(--ink-3);
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper);
  font-size: 16px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.input:hover {
  border-color: #b9bdd6;
}
.input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgb(49 56 148 / 0.14);
}
textarea.input {
  min-height: 112px;
  resize: vertical;
}
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236c7091' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field.has-error .input {
  border-color: var(--danger);
}
.field__error {
  display: none;
  font-size: 13.5px;
  color: var(--danger);
}
.field.has-error .field__error {
  display: block;
}

.field label.consent {
  font-weight: 400;
  color: var(--ink-2);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--navy);
}
.form__note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-3);
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.form__status {
  font-size: 14.5px;
  color: var(--danger);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__done {
  display: none;
  text-align: center;
  padding: 40px 12px;
}
.form.is-done .form__done {
  display: block;
}
.form.is-done form {
  display: none;
}
.form__done .card__icon {
  background: var(--ok);
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.form__done p {
  margin-top: 8px;
  color: var(--ink-2);
}

/* ---------- footer ---------- */

.footer {
  padding-block: 48px 40px;
  background: var(--navy-900);
  color: #c7cbee;
  font-size: 14.5px;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}
.footer .brand {
  color: #fff;
}
.footer .brand__word b {
  color: #b9c0ff;
}
.footer .label {
  font-weight: 600;
  color: #fff;
}
.footer__tagline {
  margin-top: 12px;
}
.footer__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
}
.footer__langs a {
  text-decoration: none;
  color: #e8eafb;
}
.footer__langs a:hover,
.footer__langs a[aria-current='true'] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: #9ba0cc;
  font-size: 13px;
}

/* ---------- lightbox ---------- */

.lightbox {
  width: min(1400px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgb(10 12 38 / 0.8);
  backdrop-filter: blur(4px);
}
.lightbox img {
  width: 100%;
  max-height: calc(100vh - 32px);
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--paper);
}
.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
}
@media (max-width: 600px) {
  .lightbox__close {
    top: 8px;
    right: 8px;
  }
}

/* ---------- small page (thanks / 404 / language chooser) ---------- */

.simple {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 96px;
}
.simple .hero__actions {
  margin-top: 28px;
}
.simple .lead {
  max-width: 560px;
  margin-inline: auto;
}
.lang-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.lang-list a {
  min-width: 200px;
}
