:root {
  --ink: #0B1030;
  --navy: #151C4E;
  --navy-deep: #101642;
  --indigo: #4F46E5;
  --indigo-dark: #4038CC;
  --lilac: #EEF0FF;
  --lilac-line: #DEE2FB;
  --mist: #F6F7FC;
  --slate: #596080;
  --line: #E4E7F2;
  --steel: #97A7CD;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shell: 1200px;
  --display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p { margin: 0; }

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

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

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-lg { padding: 15px 30px; font-size: 15px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color .2s ease;
}
.nav > a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.nav-phone:hover { color: var(--indigo); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 420px at 12% -10%, #E7EAFF 0%, rgba(231,234,255,0) 70%),
    linear-gradient(180deg, #FBFBFE 0%, #F4F5FB 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 800;
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
  color: var(--slate);
  max-width: 520px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--lilac-line);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}
.hero-facts span { font-size: 13px; color: var(--slate); }

.hero-board {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 70px -40px rgba(21,28,78,.5);
  padding: 16px;
}

.board-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.board-chrome .dot { width: 9px; height: 9px; border-radius: 50%; background: #E1E5F2; }
.board-title {
  margin-left: 12px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: .02em;
}

.board-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.board-col {
  background: var(--mist);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
}
.board-col-won { background: #EEF1FF; }

.col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.col-head em { font-style: normal; color: var(--steel); }

.deal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 6px 14px -12px rgba(21,28,78,.6);
}
.deal b { font-family: var(--display); font-size: 12px; font-weight: 700; }
.deal span { font-size: 11px; color: var(--slate); }
.deal.ghost {
  background: transparent;
  border: 1px dashed var(--lilac-line);
  box-shadow: none;
  height: 44px;
}
.deal-won { border-color: #C7CDFB; }

.tag {
  align-self: flex-start;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 3px;
}
.tag-a { background: var(--lilac); color: var(--indigo); }
.tag-b { background: #FFF3DC; color: #A9762A; }
.tag-c { background: #E4F4EE; color: #2C7A5D; }
.tag-win { background: var(--indigo); color: #fff; }

.deal.is-moving { animation: nudge 5s ease-in-out infinite; }

@keyframes nudge {
  0%, 70%, 100% { transform: translateY(0); box-shadow: 0 6px 14px -12px rgba(21,28,78,.6); }
  80%, 90% { transform: translateY(-5px) rotate(-1.2deg); box-shadow: 0 14px 22px -14px rgba(79,70,229,.6); }
}

.board-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.foot-metric { display: flex; flex-direction: column; }
.foot-metric span { font-size: 11px; color: var(--slate); }
.foot-metric b { font-family: var(--display); font-size: 16px; }

.band { background: var(--navy); color: #fff; padding: 34px 0; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.band-grid div { display: flex; align-items: baseline; gap: 14px; }
.band-grid strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  color: #A5B4FC;
}
.band-grid span { font-size: 14px; color: #C6CBEA; }

.section { padding: 96px 0; }
.section-alt { background: var(--mist); }

.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-bottom: 16px; }
.section-head p { color: var(--slate); font-size: 17px; }
.section-head-left { text-align: left; margin: 0 0 40px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: #C9CFF8;
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -36px rgba(21,28,78,.6);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lilac);
  color: var(--indigo);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  position: relative;
}
.step-no {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-copy h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; margin-bottom: 16px; }
.split-copy > p { color: var(--slate); font-size: 17px; }

.ticks { margin: 26px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--ink);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

.split-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 30px 70px -46px rgba(21,28,78,.55);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.panel-head em { font-style: normal; font-size: 12px; color: var(--slate); font-weight: 600; }
.panel-metric { margin-bottom: 18px; }
.metric-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 7px;
}
.metric-label b { font-family: var(--display); color: var(--ink); }
.meter { height: 7px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #6D63FF, #4F46E5); }
.panel-note {
  font-size: 12px;
  color: var(--slate);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan h3 { font-size: 20px; font-weight: 800; }
.plan-for { color: var(--slate); font-size: 15px; min-height: 46px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #C7CDFB;
}
.plan .btn { width: 100%; }

.plan-featured {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  position: relative;
  box-shadow: 0 34px 60px -40px rgba(21,28,78,.85);
}
.plan-featured h3 { color: #fff; }
.plan-featured .plan-for { color: #C6CBEA; }
.plan-featured li { color: #E6E9FA; }
.plan-featured li::before { background: #6D63FF; }
.plan-flag {
  position: absolute;
  top: -12px;
  left: 26px;
  background: #A5B4FC;
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.security { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sec-item {
  border: 1px solid var(--line);
  border-left: 3px solid var(--indigo);
  border-radius: var(--radius-sm);
  padding: 22px;
  background: #fff;
}
.sec-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sec-item p { font-size: 14px; color: var(--slate); }

.faq-shell { max-width: 860px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: #C9CFF8; }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 34px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-right: 2px solid var(--indigo);
  border-bottom: 2px solid var(--indigo);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--slate); font-size: 15px; padding: 0 0 20px; }

.cta { padding: 84px 0; background: var(--navy-deep); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cta p { color: #C6CBEA; font-size: 17px; }

.cta-contacts { display: flex; flex-direction: column; gap: 12px; }
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: border-color .2s ease, background .2s ease;
}
a.contact-line:hover { border-color: #6D63FF; background: rgba(109,99,255,.14); }
.contact-line span {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9AA2CE;
}
.contact-line b { font-family: var(--display); font-size: 17px; font-weight: 700; }
.contact-static { cursor: default; }

.site-footer { background: var(--navy); color: #C6CBEA; padding: 64px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand-light .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .2s ease;
  word-break: break-word;
}
.footer-col a:hover { color: #fff; }
.footer-address { font-size: 14px; margin-top: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: #8F97C4;
}

.legal-hero {
  background: linear-gradient(180deg, #F4F5FB 0%, #FFFFFF 100%);
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; margin-bottom: 14px; }
.legal-hero p { color: var(--slate); }

.legal { padding: 64px 0 96px; }
.legal-body { max-width: 780px; }
.legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--slate); margin-bottom: 14px; }
.legal-body ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.legal-body li {
  position: relative;
  padding-left: 22px;
  color: var(--slate);
  font-size: 15px;
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #C7CDFB;
}
.legal-body strong { color: var(--ink); }
.legal-note {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin-top: 36px;
}
.legal-note p { margin-bottom: 6px; }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .cards, .steps, .plans { grid-template-columns: repeat(2, 1fr); }
  .split, .security, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .band-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    display: none;
    box-shadow: 0 20px 40px -30px rgba(21,28,78,.6);
  }
  .nav.is-open { display: flex; }
  .nav > a { padding: 10px 0; font-size: 16px; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-top: 10px;
  }
  .nav-actions .btn { width: 100%; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 68px; }
  .cards, .steps, .plans, .sec-grid, .footer-top { grid-template-columns: 1fr; }
  .board-cols { grid-template-columns: repeat(2, 1fr); }
  .board-foot { grid-template-columns: 1fr 1fr; }
  .hero-facts { gap: 22px; }
  .section-head { margin-bottom: 36px; }
}

:focus-visible {
  outline: 3px solid #6D63FF;
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
