/* Velmi AI shared brand foundation. Keep page-specific compositions elsewhere. */
:root {
  --brand-bg: #07070c;
  --brand-surface-1: #0b0c13;
  --brand-surface-2: #11121b;
  --brand-surface-3: #171824;
  --brand-text: #f3f4f9;
  --brand-muted: #9da0b2;
  --brand-violet: #7b6cff;
  --brand-cyan: #34e3d4;
  --brand-border: rgba(255, 255, 255, .09);
  --brand-border-strong: rgba(255, 255, 255, .16);
  --brand-radius-control: 12px;
  --brand-radius-card: 18px;
  --brand-radius-panel: 28px;
  --brand-shadow-control: 0 16px 36px rgba(52, 227, 212, .22);
  --brand-shadow-focal: 0 34px 90px rgba(0, 0, 0, .38);
  --brand-container: 1280px;
  --brand-section-sm: clamp(64px, 7vw, 88px);
  --brand-section-md: clamp(78px, 9vw, 112px);
  --brand-section-lg: clamp(92px, 11vw, 132px);
  --brand-display: clamp(40px, 5.1vw, 68px);
  --brand-section-title: clamp(30px, 3.6vw, 46px);
  --brand-title: 20px;
  --brand-body-large: 17px;
  --brand-body: 16px;
  --brand-small: 14px;
}

html { background: var(--brand-bg); scroll-padding-top: 88px; }
body { background: var(--brand-bg); color: var(--brand-text); }
section[id], header[id] { scroll-margin-top: 88px; }

.brand-page--sales h1,
.brand-page--development h1 {
  font-size: var(--brand-display);
  line-height: 1.04;
}
.brand-page--sales h2,
.brand-page--development h2 {
  font-size: var(--brand-section-title);
  line-height: 1.08;
}
.brand-page--sales h3,
.brand-page--development h3 {
  font-size: var(--brand-title);
  line-height: 1.25;
}
.brand-page--sales p,
.brand-page--development p {
  font-size: var(--brand-body);
  line-height: 1.6;
}

.brand-page--development .uses,
.brand-page--development .implementation,
.brand-page--development .deliverables,
.brand-page--development #trust {
  background-color: var(--brand-bg);
  background-image: linear-gradient(180deg, var(--brand-bg), rgba(11, 11, 19, .9) 48%, var(--brand-bg));
}

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

.brand-nojs { min-height: 100vh; padding-top: 72px; background: var(--brand-bg); }
.brand-nojs__hero { padding-block: var(--brand-section-lg); }
.brand-nojs__title { max-width: 900px; font: 700 var(--brand-display)/1.04 Manrope, sans-serif; letter-spacing: -.04em; }
.brand-nojs__hero p { max-width: 620px; margin: 24px 0 0; color: var(--brand-muted); font-size: var(--brand-body-large); line-height: 1.6; }

.brand-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 72px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(7, 7, 12, .76);
  backdrop-filter: blur(18px);
}

.brand-header__inner {
  position: relative;
  width: min(calc(100% - 80px), var(--brand-container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-header .brand-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.brand-header__actions { margin-left: auto; }

.brand-logo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font: 800 24px/1 Manrope, sans-serif;
  letter-spacing: -.04em;
  color: var(--brand-text);
  text-decoration: none;
}

.brand-logo__accent { color: var(--brand-cyan); font-style: normal; }
.brand-header__actions { display: flex; align-items: center; gap: 28px; min-width: 0; }
.brand-header__nav { display: flex; align-items: center; gap: 28px; color: #b6b8c6; font-size: 14px; font-weight: 600; }
.brand-header__nav a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; transition: color .2s ease; }
.brand-header__nav a:hover { color: #fff; }

.brand-button {
  min-height: 52px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--brand-radius-control);
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-cyan));
  color: var(--brand-bg) !important;
  font: 800 15px/1.2 Inter, sans-serif;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--brand-shadow-control);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.brand-button--header { min-height: 44px; padding-inline: 18px; font-size: 13px; }
.brand-button:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(52, 227, 212, .32); filter: saturate(1.06); }
.brand-button:active { transform: translateY(0); box-shadow: var(--brand-shadow-control); }
.brand-button:focus-visible,
.brand-faq__question:focus-visible,
.brand-header a:focus-visible,
.brand-footer a:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 4px;
}

#faq.brand-faq { padding-block: var(--brand-section-md); background: var(--brand-bg); background-image: none; }
.brand-faq__layout { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.brand-faq__intro { position: static; top: auto; z-index: auto; }
.brand-eyebrow { margin-bottom: 16px; color: var(--brand-cyan); font: 700 var(--brand-small)/1.3 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.brand-faq__intro h2,
.brand-final__content h2 { margin: 0; font: 700 var(--brand-section-title)/1.08 Manrope, sans-serif; letter-spacing: -.035em; }
.brand-faq__intro p { max-width: 340px; margin: 18px 0 0; color: var(--brand-muted); font-size: var(--brand-body); line-height: 1.65; }
.brand-faq__list { display: grid; gap: 8px; }
.brand-faq__item { overflow: hidden; border-bottom: 1px solid var(--brand-border); }
.brand-faq__item:first-child { border-top: 1px solid var(--brand-border); }
.brand-faq__question { width: 100%; min-height: 70px; padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; background: transparent; color: var(--brand-text); text-align: left; font: 650 16px/1.45 Inter, sans-serif; }
.brand-faq__icon { position: relative; width: 22px; height: 22px; flex: 0 0 22px; }
.brand-faq__icon::before,
.brand-faq__icon::after { content: ''; position: absolute; background: var(--brand-cyan); transition: transform .2s ease; }
.brand-faq__icon::before { width: 16px; height: 2px; top: 10px; left: 3px; }
.brand-faq__icon::after { width: 2px; height: 16px; top: 3px; left: 10px; }
.brand-faq__question[aria-expanded='true'] .brand-faq__icon::after { transform: rotate(90deg); }
.brand-faq__answer { color: var(--brand-muted); font-size: var(--brand-body); line-height: 1.65; }
.brand-faq__answer > p,
.brand-faq__answer:not(:has(> p)) { padding: 0 4px 22px; }
.brand-faq__question[aria-expanded='false'] + .brand-faq__answer { display: none; }

#cta.brand-final { padding-block: var(--brand-section-sm); background: var(--brand-bg); background-image: none; }
.brand-final__panel { position: relative; overflow: hidden; min-height: 330px; padding: clamp(42px, 6vw, 68px); display: grid; align-items: center; border: 1px solid rgba(123, 108, 255, .28); border-radius: var(--brand-radius-panel); background: radial-gradient(100% 150% at 50% 0%, rgba(123, 108, 255, .19), rgba(52, 227, 212, .045) 58%, transparent), var(--brand-surface-1); box-shadow: var(--brand-shadow-focal); isolation: isolate; }
.brand-final__panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 42%, #000, transparent 72%); pointer-events: none; }
.brand-final__content { max-width: 780px; margin-inline: auto; text-align: center; }
.brand-final__content p { max-width: 590px; margin: 18px auto 28px; color: #c2c4d0; font-size: var(--brand-body-large); line-height: 1.6; }
.brand-final__visual { margin: 30px auto 0; max-width: 430px; }

.brand-footer { position: relative; z-index: 1; padding: 32px 0; border-top: 1px solid var(--brand-border); background: var(--brand-bg); }
.brand-footer__inner { width: min(calc(100% - 80px), var(--brand-container)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; }
.brand-footer__meta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 18px 28px; color: #777a89; font-size: 14px; }
.brand-footer__meta a { min-height: 44px; display: inline-flex; align-items: center; color: #9da0b2; text-decoration: none; transition: color .2s ease; }
.brand-footer__meta a:hover { color: var(--brand-cyan); }

@media (max-width: 820px) {
  :root { --brand-section-title: clamp(28px, 7vw, 38px); }
  .brand-container,
  .brand-header__inner,
  .brand-footer__inner { width: min(calc(100% - 40px), var(--brand-container)); }
  .brand-header__nav { display: none; }
  .brand-faq__layout { grid-template-columns: 1fr; gap: 34px; }
  .brand-faq__intro { position: static; }
  .brand-final__panel { min-height: 0; }
}

@media (max-width: 620px) {
  .brand-header { height: 64px; }
  .brand-header__inner,
  .brand-footer__inner,
  .brand-container { width: calc(100% - 32px); }
  .brand-logo { font-size: 22px; }
  .brand-page--sales h1,
  .brand-page--development h1 { font-size: clamp(34px, 10.5vw, 46px); }
  .brand-page--sales h2,
  .brand-page--development h2 { font-size: clamp(28px, 8vw, 38px); }
  .brand-page--sales h3,
  .brand-page--development h3 { font-size: 18px; }
  .brand-button--header { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .brand-button:not(.brand-button--header) { width: 100%; min-height: 54px; padding-inline: 18px; }
  .brand-faq { padding-block: 64px; }
  .brand-faq__question { min-height: 64px; padding-block: 18px; font-size: 16px; }
  .brand-final { padding-block: 56px; }
  .brand-final__panel { padding: 38px 22px; border-radius: 22px; }
  .brand-final__content p { font-size: 16px; }
  .brand-footer__inner { align-items: flex-start; flex-direction: column; }
  .brand-footer__meta { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-button,
  .brand-faq__icon::before,
  .brand-faq__icon::after { transition: none; }
}
