:root {
  --cb-text: #14141a;
  --cb-muted: #62626d;
  --cb-line: #e8e8ee;
  --cb-soft: #f6f6f7;
  --cb-white: #fff;
  --cb-accent: #39336f;
  --cb-button-bg: #14141a;
  --cb-button-color: #fff;
  --cb-button-radius: 12px;
  --cb-container: 1180px;
  --cb-section-space: 100px;
  --cb-heading-font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --cb-body-font: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cb-white);
  color: var(--cb-text);
  font-family: var(--cb-body-font);
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
.brand {
  font-family: var(--cb-heading-font);
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: .98;
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

p {
  color: var(--cb-muted);
  line-height: 1.72;
}

.container {
  width: min(var(--cb-container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--cb-line);
  background: rgba(255,255,255,.92);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand span {
  color: var(--cb-accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  color: var(--cb-muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.nav-dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 20;
  display: grid;
  min-width: 190px;
  transform: translateX(-50%) translateY(8px);
  gap: 2px;
  border: 1px solid var(--cb-line);
  border-radius: 14px;
  background: white;
  padding: 8px;
  box-shadow: 0 18px 50px rgba(20,20,26,.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown .nav-item > a {
  width: 100%;
  justify-content: flex-start;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--cb-text);
  white-space: nowrap;
}

.nav-dropdown .nav-item > a:hover {
  background: #f4f4f7;
  color: var(--cb-accent);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cb-button-bg);
  border-radius: var(--cb-button-radius);
  background: var(--cb-button-bg);
  color: var(--cb-button-color);
  padding: 0 18px;
  font-weight: 900;
}

.btn--ghost {
  background: transparent;
  color: var(--cb-text);
}

.section {
  padding: var(--cb-section-space) 0;
}

.section--soft {
  background: var(--cb-soft);
}

.hero-banner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20,20,26,.76), rgba(20,20,26,.25)),
    url("https://picsum.photos/seed/hero-office/1800/900") center/cover;
  color: #fff;
}

.hero-banner p {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.text-block .lead {
  max-width: 760px;
  font-size: 18px;
}

.faq {
  display: grid;
  gap: 14px;
  max-width: 880px;
}

.faq-item {
  border: 1px solid var(--cb-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--cb-text);
  padding: 22px;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--cb-soft);
  color: var(--cb-accent);
  flex: none;
}

.faq-item[open] .faq-question::after {
  content: "-";
}

.faq-answer {
  border-top: 1px solid var(--cb-line);
  padding: 18px 22px 22px;
}

.site-footer {
  background: var(--cb-text);
  color: rgba(255,255,255,.72);
  padding: 58px 0;
}

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,.72);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

@media (max-width: 760px) {
  .site-header__inner,
  .site-footer__grid {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav-dropdown {
    position: static;
    min-width: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
  }

  .section {
    padding: 70px 0;
  }
}
