:root {
  color-scheme: dark;
  --bg: #02060c;
  --surface: #060c15;
  --text: #f5f7fb;
  --muted: #aeb9ca;
  --dim: #758197;
  --blue: #36a4ff;
  --blue-bright: #79c7ff;
  --line: rgba(125, 176, 231, 0.16);
  --content: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(ellipse at 50% 27%, rgba(15, 70, 132, 0.18) 0, rgba(4, 17, 34, 0.08) 28%, transparent 55%),
    linear-gradient(180deg, #01040a 0%, #030913 48%, #01050a 100%);
  content: "";
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 4px);
  content: "";
  opacity: .18;
  pointer-events: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #03070d;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  width: min(calc(100% - 80px), var(--content));
  min-height: 82px;
  align-items: center;
  margin: 0 auto;
  grid-template-columns: 260px 1fr 230px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-header::after {
  position: absolute;
  right: calc((100vw - min(calc(100vw - 80px), var(--content))) / -2);
  bottom: -1px;
  left: calc((100vw - min(calc(100vw - 80px), var(--content))) / -2);
  height: 1px;
  background: rgba(255,255,255,.035);
  content: "";
}

.header-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  color: #f7f8fa;
  font-size: 1.28rem;
  font-weight: 550;
  letter-spacing: -0.035em;
}

.header-brand img {
  width: 50px;
  height: 34px;
  object-fit: contain;
  filter: none;
}

.header-brand > span > span {
  color: var(--blue);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(35px, 4.2vw, 74px);
}

.main-nav a {
  position: relative;
  padding: 29px 0;
  color: #e7ebf0;
  font-size: .98rem;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 9px var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.glow-button {
  position: relative;
  border: 1px solid #299df8;
  border-radius: 8px;
  background: rgba(2, 8, 16, .8);
  box-shadow:
    0 0 0 1px rgba(63, 174, 255, .06),
    0 0 20px rgba(21, 132, 230, .12),
    inset 0 0 14px rgba(22, 111, 191, .09);
  color: #f5f7fb;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.glow-button::before {
  position: absolute;
  top: -1px;
  left: 35%;
  width: 30%;
  height: 1px;
  background: #dff4ff;
  box-shadow: 0 0 9px 2px rgba(53, 174, 255, .72);
  content: "";
}

.glow-button:hover,
.glow-button:focus-visible {
  border-color: #79c9ff;
  background: rgba(7, 25, 44, .9);
  box-shadow: 0 0 24px rgba(26, 151, 250, .28), inset 0 0 18px rgba(31, 132, 219, .14);
  transform: translateY(-1px);
}

.nav-cta {
  width: 222px;
  height: 50px;
  justify-self: end;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 645px;
  overflow: hidden;
  place-items: center;
  padding: 34px 24px 30px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  top: 43%;
  left: 50%;
  z-index: -2;
  width: 760px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(19, 84, 153, .12) 0, rgba(4, 19, 37, .06) 42%, transparent 72%);
  content: "";
  filter: blur(10px);
  transform: translate(-50%, -50%);
}

.hero-glow {
  position: absolute;
  top: 123px;
  left: 50%;
  z-index: -1;
  width: 610px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51, 150, 245, .42), transparent);
  box-shadow: 0 0 42px 7px rgba(34, 132, 229, .1);
  opacity: .4;
  transform: translateX(-50%) rotate(-28deg);
}

.hero-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  transform: translateY(3px);
}

.monogram {
  width: 390px;
  height: auto;
  margin: -8px 0 -4px;
  object-fit: contain;
  filter: none;
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 750ms var(--ease) 80ms forwards;
}

.wordmark {
  margin: 0;
  color: #f5f7fb;
  font-size: clamp(3.2rem, 4.25vw, 4.25rem);
  font-weight: 460;
  letter-spacing: -.055em;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 750ms var(--ease) 150ms forwards;
}

.wordmark span {
  background: linear-gradient(180deg, #55b5ff 10%, #2f85ef 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 31px 0 0;
  color: #f1f3f7;
  font-size: 1.24rem;
  font-weight: 400;
  letter-spacing: .005em;
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 750ms var(--ease) 220ms forwards;
}

.hero-copy {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 1.01rem;
  font-weight: 380;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 750ms var(--ease) 290ms forwards;
}

.primary-cta {
  display: flex;
  width: 407px;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  margin-top: 47px;
  padding: 0 34px 0 37px;
  font-size: 1.04rem;
  font-weight: 470;
}

.hero .primary-cta {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 750ms var(--ease) 360ms forwards;
}

.button-arrow {
  font-size: 1.8rem;
  font-weight: 250;
  line-height: 1;
  transition: transform 180ms var(--ease);
}

.primary-cta:hover .button-arrow {
  transform: translateX(4px);
}

.assurance {
  margin: 22px 0 0;
  color: #aab5c5;
  font-size: .83rem;
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 700ms var(--ease) 420ms forwards;
}

.assurance span {
  margin-right: 8px;
  color: var(--blue);
  font-size: 1rem;
  text-shadow: 0 0 7px rgba(51, 166, 255, .7);
}

.process {
  position: relative;
  width: min(calc(100% - 80px), 1280px);
  margin: 0 auto;
  padding: 30px 0 38px;
  border-top: 1px solid rgba(49, 148, 232, .26);
}

.process::before {
  position: absolute;
  top: -1px;
  left: 24%;
  width: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(67, 173, 255, .65), transparent);
  box-shadow: 0 0 9px rgba(44, 152, 239, .45);
  content: "";
}

.process h2 {
  margin: 0 0 28px;
  color: #becce0;
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: .42em;
  text-align: center;
  text-transform: uppercase;
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.step {
  min-width: 0;
  padding: 0 32px;
  text-align: center;
}

.step-visual {
  position: relative;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: center;
}

.step-visual img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(43, 148, 247, .55));
}

.flow-arrow {
  position: absolute;
  top: 20px;
  right: -19px;
  color: #42a9ff;
  font-size: 2.1rem;
  font-weight: 200;
  text-shadow: 0 0 8px rgba(58, 163, 255, .42);
}

.step h3 {
  margin: 14px 0 0;
  color: #f1f3f7;
  font-size: 1.03rem;
  font-weight: 450;
}

.step p {
  margin: 12px 0 0;
  color: #adb7c6;
  font-size: .84rem;
  line-height: 1.5;
}

.closing {
  display: flex;
  min-height: 470px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 90px 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: radial-gradient(ellipse at 50% 50%, rgba(18, 76, 137, .14), transparent 55%);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.closing h2,
.dialog-head h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 380;
  letter-spacing: -.04em;
}

.closing > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.closing .primary-cta {
  margin-top: 34px;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 80px), var(--content));
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  color: var(--dim);
  font-size: .74rem;
}

.site-footer .header-brand {
  color: #aeb8c7;
  font-size: 1rem;
}

.site-footer .header-brand img {
  width: 42px;
  height: 28px;
}

.audit-dialog {
  width: min(calc(100% - 32px), 590px);
  padding: 34px;
  border: 1px solid rgba(58, 157, 242, .38);
  border-radius: 14px;
  background: rgba(4, 11, 20, .98);
  box-shadow: 0 35px 100px rgba(0,0,0,.72), 0 0 36px rgba(22, 126, 219, .12);
  color: var(--text);
}

.audit-dialog::backdrop {
  background: rgba(0, 3, 8, .82);
  backdrop-filter: blur(10px);
}

.audit-dialog[open] {
  animation: dialog-in 240ms var(--ease);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dialog-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.dialog-close {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.dialog-close::before,
.dialog-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: #c8d1dc;
  content: "";
}

.dialog-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.dialog-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.audit-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.audit-form label {
  display: grid;
  gap: 8px;
  color: #b8c1ce;
  font-size: .76rem;
}

.audit-form label small {
  margin-left: 4px;
  color: #6d7889;
  font-size: inherit;
}

.audit-form input,
.audit-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  outline: none;
  background: rgba(255,255,255,.035);
  color: var(--text);
  font-size: .9rem;
  resize: vertical;
  transition: border-color 180ms ease, background 180ms ease;
}

.audit-form input::placeholder,
.audit-form textarea::placeholder { color: #5c6879; }

.audit-form input:focus,
.audit-form textarea:focus {
  border-color: rgba(67, 171, 255, .7);
  background: rgba(255,255,255,.05);
}

.form-submit {
  width: 50%;
  margin-top: 3px;
  justify-self: end;
}

.form-note {
  margin: -5px 0 0;
  color: #6c7788;
  font-size: .69rem;
  line-height: 1.45;
  text-align: center;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1120px) {
  .site-header {
    width: min(calc(100% - 40px), var(--content));
    grid-template-columns: 220px 1fr 190px;
  }

  .main-nav { gap: 28px; }
  .nav-cta { width: 185px; }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 18px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(2,8,15,.98);
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
  }

  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav a::after { display: none; }
  .nav-cta { display: none; }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: #dfe5ee;
  }

  .hero { min-height: 650px; }
}

@media (max-width: 700px) {
  .site-header,
  .process,
  .site-footer {
    width: min(calc(100% - 32px), var(--content));
  }

  .header-brand { font-size: 1.08rem; }
  .header-brand img { width: 44px; }

  .hero {
    min-height: 650px;
    padding: 36px 18px 44px;
  }

  .monogram {
    width: min(92vw, 410px);
    height: auto;
  }

  .wordmark { font-size: clamp(2.75rem, 13vw, 3.4rem); }
  .tagline { margin-top: 25px; font-size: 1rem; }
  .hero-copy { margin-top: 22px; font-size: .88rem; }
  .hero-copy br { display: none; }

  .primary-cta {
    width: min(100%, 380px);
    min-height: 60px;
    padding: 0 24px;
    font-size: .91rem;
  }

  .process { padding: 34px 0 45px; }
  .process h2 { margin-bottom: 34px; font-size: .84rem; letter-spacing: .3em; }

  .steps {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .step { padding: 0 10px; }
  .flow-arrow { display: none; }

  .closing { min-height: 430px; padding: 76px 20px; }
  .site-footer { min-height: 90px; }

  .audit-dialog { padding: 27px 20px; }
}

@media (max-height: 960px) and (min-width: 901px) {
  .hero {
    min-height: 560px;
    padding-top: 12px;
    padding-bottom: 18px;
  }

  .monogram {
    width: 340px;
    margin-bottom: -10px;
  }

  .wordmark {
    font-size: 3.7rem;
  }

  .tagline {
    margin-top: 20px;
    font-size: 1.08rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: .92rem;
    line-height: 1.45;
  }

  .primary-cta {
    width: 380px;
    min-height: 60px;
    margin-top: 26px;
  }

  .assurance {
    margin-top: 13px;
  }

  .process {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .process h2 {
    margin-bottom: 22px;
  }

  .step-visual {
    height: 66px;
  }

  .step-visual img {
    width: 60px;
    height: 60px;
  }

  .flow-arrow {
    top: 16px;
  }

  .step h3 {
    margin-top: 9px;
  }

  .step p {
    margin-top: 9px;
    line-height: 1.4;
  }
}

@media (max-height: 820px) and (min-width: 901px) {
  .hero { min-height: 495px; }
  .monogram { width: 300px; }
  .wordmark { font-size: 3.35rem; }
  .tagline { margin-top: 16px; }
  .hero-copy { margin-top: 14px; }
  .primary-cta { min-height: 56px; margin-top: 20px; }
  .assurance { margin-top: 10px; }
  .process { padding-top: 18px; padding-bottom: 18px; }
  .process h2 { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* honeypot: скрытое поле-ловушка для ботов */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* статус отправки формы */
.form-note { margin-top: 14px; font-size: 14px; color: #e05c5c; }
.form-note.is-ok { color: #4da6ff; }
