:root {
  --ink: #0d0d12;
  --panel: #15161c;
  --line: rgba(255, 255, 255, .14);
  --paper: #f6f6f6;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, .66);
  --text: #0d0d12;
  --blue: #008cff;
  --blue-dark: #0070d6;
  --radius: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.6 "Golos Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(13, 13, 18, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; white-space: nowrap; }
.kt-logo { width: 112px; height: auto; filter: invert(1); }
.brand-name { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); font-size: 18px; font-weight: 400; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a { color: rgba(255,255,255,.66); font-size: 14px; font-weight: 400; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.header-cta { min-height: 40px; padding: 9px 18px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 100px; color: var(--white); font-size: 14px; font-weight: 400; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.header-cta:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.dark { background: var(--ink); color: var(--white); }
.container { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
.hero { padding: 86px 0 78px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 76px; align-items: end; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font: 400 13px/1.2 "Golos Text", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, b, strong { font-weight: 500; }
h1 { max-width: 860px; margin-bottom: 24px; font-size: clamp(44px, 5.5vw, 76px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.hero-copy { max-width: 760px; margin-bottom: 30px; color: rgba(255,255,255,.66); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border: 1.5px solid transparent; border-radius: 100px; background: var(--blue); color: var(--white); font-weight: 400; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.button:hover { background: var(--blue-dark); }
.button.secondary { background: transparent; border-color: rgba(255,255,255,.3); }
.button.secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.button.light { background: var(--ink); }
.button.light:hover { background: var(--panel); }
.proof-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.proof-card > span { color: #9ad1ff; font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; }
.proof-card h2 { margin: 10px 0 22px; font-size: 30px; line-height: 1.08; letter-spacing: -.035em; }
.proof-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.proof-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: rgba(255,255,255,.66); }
.proof-list li::before { content: "✓"; color: #9ad1ff; font-weight: 500; }

.trust-strip { padding: 24px 0; border-top: 1px solid var(--line); background: var(--ink); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { min-height: 90px; padding: 14px 22px; border-left: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 1px solid var(--line); }
.trust-grid strong { display: block; margin-bottom: 4px; font-size: 25px; line-height: 1.1; }
.trust-grid span { color: var(--muted); font-size: 14px; }

.section { padding: 96px 0; }
.section.compact { padding-top: 72px; padding-bottom: 72px; }
.section-head { max-width: 880px; margin-bottom: 42px; }
.section-head h2 { margin-bottom: 16px; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.section-head p:not(.eyebrow) { max-width: 760px; color: #6f6f6f; font-size: 19px; }
.dark .section-head p:not(.eyebrow) { color: rgba(255,255,255,.66); }

.service-cloud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service { min-height: 132px; padding: 22px; border: 1px solid #c7c7c7; border-radius: 16px; background: var(--white); }
.service b { display: block; margin-bottom: 8px; font-size: 22px; letter-spacing: -.025em; }
.service span { color: #6f6f6f; font-size: 14px; }
.service.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.service.featured span { color: var(--muted); }
.service-note { margin: 22px 0 0; color: #6f6f6f; font-size: 13px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #c7c7c7; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.feature { min-height: 250px; padding: 30px; border-right: 1px solid #c7c7c7; border-bottom: 1px solid #c7c7c7; }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature .index { color: var(--blue); font: 500 13px "Golos Text", sans-serif; }
.feature h3 { margin: 34px 0 12px; font-size: 25px; line-height: 1.1; letter-spacing: -.03em; }
.feature p { margin-bottom: 0; color: #6f6f6f; }

.migration { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.migration article { min-height: 210px; padding: 28px; background: var(--panel); }
.migration small { color: #9ad1ff; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.migration h3 { margin: 30px 0 10px; font-size: 25px; line-height: 1.1; }
.migration p { margin: 0; color: var(--muted); }
.migration .arrow { display: grid; place-items: center; width: 54px; color: #9ad1ff; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 24px; }

.cabinet-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.cabinet-grid h2 { margin-bottom: 18px; font-size: clamp(36px, 4.7vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.cabinet-grid p { color: #6f6f6f; font-size: 18px; }
.cabinet-list { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 10px; }
.cabinet-list li { padding-left: 24px; position: relative; }
.cabinet-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; background: var(--blue); border-radius: 50%; }
.cabinet-mock { padding: 18px; border: 1px solid #c7c7c7; border-radius: 16px; background: var(--white); box-shadow: 0 24px 70px rgba(13,13,18,.1); }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 20px; border-bottom: 1px solid #ededed; }
.mock-head b { font-size: 19px; }
.mock-head span { padding: 6px 10px; border-radius: 20px; background: #e8f5ff; color: #0070d6; font-size: 12px; font-weight: 500; }
.mock-row { display: grid; grid-template-columns: 1.4fr .7fr .65fr; gap: 12px; align-items: center; padding: 17px 8px; border-bottom: 1px solid #ededed; }
.mock-row:last-child { border-bottom: 0; }
.mock-row b { display: block; }
.mock-row small { color: #6f6f6f; }
.status { justify-self: end; color: #22c55e; font-size: 13px; font-weight: 500; }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.route-card { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.route-card span { color: #9ad1ff; font: 500 13px "Golos Text", sans-serif; }
.route-card h3 { margin: 44px 0 12px; font-size: 27px; line-height: 1.08; }
.route-card p { margin: 0; color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #c7c7c7; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.price-card { min-height: 220px; padding: 30px; border-right: 1px solid #c7c7c7; }
.price-card:last-child { border-right: 0; }
.price-card small { color: #6f6f6f; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.price-card strong { display: block; margin: 30px 0 10px; font-size: clamp(34px, 4vw, 52px); line-height: .95; letter-spacing: -.05em; }
.price-card p { margin: 0; color: #6f6f6f; }

.cta-band { padding: 76px 0; background: var(--blue); color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; gap: 50px; align-items: end; }
.cta-inner h2 { max-width: 820px; margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.cta-inner .button { flex: none; background: var(--white); color: var(--ink); }

.site-footer { padding: 38px max(22px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 28px; background: var(--ink); color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.legal { max-width: var(--max); margin: 22px auto 0; color: #6f6f6f; font-size: 13px; }
.dark .legal { color: var(--muted); }

@media (max-width: 920px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid, .cabinet-grid { grid-template-columns: 1fr; gap: 40px; }
  .proof-card { max-width: 620px; }
  .trust-grid, .service-cloud { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3n) { border-right: 1px solid #c7c7c7; }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid #c7c7c7; }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
  .migration { grid-template-columns: 1fr; }
  .migration .arrow { width: auto; min-height: 48px; transform: rotate(90deg); border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .site-header { min-height: 68px; padding: 0 16px; gap: 12px; }
  .brand { gap: 9px; }
  .kt-logo { width: 100px; }
  .brand-name { padding-left: 9px; font-size: 14px; }
  .header-cta { padding: 8px 11px; font-size: 12px; }
  .container { width: min(100% - 32px, var(--max)); }
  .hero { padding: 62px 0 58px; }
  h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-copy { font-size: 18px; }
  .actions, .actions .button { width: 100%; }
  .trust-grid, .service-cloud, .feature-grid, .route-grid, .pricing-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-left: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .trust-grid div:last-child { border-right: 0; border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-head h2, .cabinet-grid h2 { font-size: 38px; }
  .feature, .feature:nth-child(2n), .feature:nth-child(3n) { border-right: 0; border-bottom: 1px solid #c7c7c7; }
  .feature:last-child { border-bottom: 0; }
  .mock-row { grid-template-columns: 1fr auto; }
  .mock-row > div:nth-child(2) { display: none; }
  .route-grid { gap: 10px; }
  .price-card { min-height: 0; border-right: 0; border-bottom: 1px solid #c7c7c7; }
  .price-card:last-child { border-bottom: 0; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .site-footer { flex-direction: column; }
}

a:focus-visible, button:focus-visible { outline: 2px solid #008cff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
