:root {
  color-scheme: light;
  --ink: #17243a;
  --muted: #6c7b93;
  --soft-muted: #8997ad;
  --line: #e5edf8;
  --panel: #ffffff;
  --blue: #3769e8;
  --blue-deep: #2854cf;
  --blue-soft: #eaf2ff;
  --green: #24b877;
  --green-soft: #e8f9f0;
  --amber: #e19a1d;
  --amber-soft: #fff4db;
  --red: #ef4f5a;
  --red-soft: #ffecee;
  --shadow: 0 28px 78px rgb(44 88 150 / 14%);
  --shadow-soft: 0 16px 42px rgb(44 88 150 / 10%);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 18% 8%, rgb(224 237 255 / 68%), transparent 30%),
    radial-gradient(circle at 86% 8%, rgb(225 242 255 / 72%), transparent 28%),
    linear-gradient(#ffffff, #ffffff);
}

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

svg {
  display: block;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 36px;
  width: min(1320px, calc(100% - 112px));
  min-height: 88px;
  margin: 0 auto;
  padding-top: 34px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17243a;
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--blue);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.2;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 4.2vw, 64px);
  color: #1f2f46;
  font-size: 14px;
  font-weight: 760;
}

.main-nav a,
.login-link,
.text-button,
.site-footer a {
  transition: color .18s var(--ease);
}

.main-nav a:hover,
.login-link:hover,
.text-button:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #1f2f46;
  font-size: 15px;
  font-weight: 780;
}

.telegram-button,
.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #4b82ff 0%, #2861df 100%);
  box-shadow: 0 18px 36px rgb(54 104 232 / 25%);
  font-weight: 850;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.telegram-button {
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
}

.primary-button {
  min-width: 286px;
  padding: 0 30px;
  font-size: 16px;
}

.telegram-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgb(54 104 232 / 31%);
}

.telegram-button svg,
.primary-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(410px, 560px) minmax(620px, 1fr);
  gap: clamp(44px, 6vw, 96px);
  width: min(1320px, calc(100% - 112px));
  min-height: 1040px;
  margin: 0 auto;
  padding: 164px 0 84px;
  align-items: start;
}

.hero-copy {
  padding-top: 46px;
}

.eyebrow {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  margin-bottom: 38px;
  padding: 0 16px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 14px;
  font-weight: 860;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(54px, 5vw, 66px);
  line-height: 1.28;
  font-weight: 860;
  letter-spacing: 0;
}

.hero-text {
  max-width: 520px;
  margin-top: 42px;
  color: #62738d;
  font-size: 20px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 62px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 850;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
  margin-top: 118px;
}

.trust-row article {
  min-width: 0;
}

.mini-icon,
.feature-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgb(60 111 184 / 9%);
}

.mini-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
}

.mini-icon svg,
.feature-icon svg,
.floating-symbol svg,
.chart-bubble svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.mini-icon.shield,
.feature-card.communication .feature-icon {
  color: var(--blue);
  background: #ebf3ff;
}

.mini-icon.bolt,
.feature-card.time .feature-icon {
  color: var(--amber);
  background: #fff1d2;
}

.mini-icon.card,
.feature-card.finance .feature-icon {
  color: var(--green);
  background: #e2f8ec;
}

.trust-row h2 {
  margin-bottom: 14px;
  color: #17243a;
  font-size: 16px;
  line-height: 1.25;
}

.trust-row p {
  color: #6f7f97;
  font-size: 14px;
  line-height: 1.72;
}

.hero-visual {
  position: relative;
  min-height: 760px;
}

.product-window {
  position: absolute;
  top: 170px;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 135px 326px 220px;
  width: 680px;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid #dde8f6;
  border-radius: 16px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 36px 88px rgb(55 96 153 / 16%);
  transform: perspective(1300px) rotateY(-8deg) rotateX(4deg);
  transform-origin: center;
}

.mock-sidebar,
.mock-tasks,
.mock-finance {
  padding: 28px 24px;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  border-right: 1px solid var(--line);
  color: #8ea0b8;
}

.mock-sidebar strong {
  color: #17243a;
  font-size: 15px;
}

.sidebar-row {
  display: block;
  width: 82px;
  height: 9px;
  border-radius: 999px;
  background: #e9f0fa;
}

.sidebar-row.active {
  width: 92px;
  background: linear-gradient(90deg, #dce8ff, #f2f6ff);
}

.mock-tasks {
  border-right: 1px solid var(--line);
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.mock-head h2,
.mock-finance h2 {
  color: #17243a;
  font-size: 18px;
  line-height: 1;
}

.mock-head span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #91a2bb;
  background: #f4f8ff;
}

.task-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 42px;
  gap: 14px;
  min-height: 92px;
  align-items: start;
}

.task-row i {
  width: 11px;
  height: 11px;
  margin-top: 8px;
  border-radius: 50%;
}

.task-row.urgent i {
  background: var(--red);
}

.task-row.high i {
  background: var(--red);
  opacity: .75;
}

.task-row.normal i {
  background: var(--blue);
}

.task-row.low i {
  background: var(--green);
}

.task-row strong,
.task-row small,
.task-row mark,
.task-row time {
  display: block;
}

.task-row strong {
  margin-bottom: 5px;
  color: #17243a;
  font-size: 14px;
  line-height: 1.25;
}

.task-row small,
.task-row time,
.money-card small,
.comm-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.task-row mark {
  width: fit-content;
  min-height: 20px;
  margin-top: 8px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 820;
}

.task-row.urgent mark {
  color: var(--red);
  background: var(--red-soft);
}

.task-row.high mark {
  color: #b8780f;
  background: var(--amber-soft);
}

.task-row.normal mark {
  color: var(--blue);
  background: var(--blue-soft);
}

.task-row.low mark {
  color: var(--green);
  background: var(--green-soft);
}

.task-row time {
  padding-top: 3px;
  text-align: right;
}

.mock-finance {
  display: grid;
  gap: 16px;
  align-content: start;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.money-card,
.comm-card {
  border: 1px solid #e9f0fa;
  border-radius: 13px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 28px rgb(72 107 154 / 7%);
}

.money-card div {
  display: flex;
  justify-content: space-between;
}

.money-card strong {
  display: block;
  margin-top: 16px;
  color: #17243a;
  font-size: 18px;
  line-height: 1;
}

.money-card b {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 13px;
}

.money-card.expense b {
  color: var(--red);
}

.money-card svg {
  width: 100%;
  height: 50px;
  margin-top: 12px;
  fill: none;
  stroke: #7fa8ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.money-card.expense svg {
  stroke: #ff8f9a;
}

.comm-card {
  display: grid;
  gap: 11px;
}

.comm-card strong {
  margin-bottom: 2px;
  font-size: 13px;
}

.comm-card span {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  gap: 9px;
  align-items: center;
}

.comm-card i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.red-dot {
  background: var(--red);
}

.amber-dot {
  background: var(--amber);
}

.green-dot {
  background: var(--green);
}

.orbit {
  position: absolute;
  pointer-events: none;
  border: 2px dashed #c5d9f5;
  border-radius: 50%;
  opacity: .82;
}

.orbit-one {
  top: 58px;
  right: -42px;
  width: 660px;
  height: 580px;
  transform: rotate(-12deg);
}

.orbit-two {
  top: 180px;
  right: 54px;
  width: 560px;
  height: 420px;
  transform: rotate(18deg);
}

.orbit-dot {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #7da9ff;
  box-shadow: 0 0 0 8px rgb(125 169 255 / 10%);
}

.dot-one {
  top: 132px;
  left: 132px;
}

.dot-two {
  right: 52px;
  top: 118px;
}

.dot-three {
  right: 84px;
  bottom: 158px;
}

.floating-symbol {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid #e4edf8;
  border-radius: 50%;
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow-soft);
}

.floating-symbol svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.4;
}

.chat-symbol {
  top: 52px;
  left: 282px;
  color: var(--blue);
}

.clock-symbol {
  left: 100px;
  bottom: 126px;
  color: var(--amber);
}

.pay-symbol {
  right: 204px;
  bottom: 88px;
  color: var(--green);
}

.section {
  width: min(1224px, calc(100% - 112px));
  margin: 0 auto;
}

.features-section {
  padding-top: 76px;
}

.section-head {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.section-label {
  color: #8d9bb1;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 18px;
  color: #17243a;
  font-size: clamp(36px, 3.4vw, 44px);
  line-height: 1.2;
  font-weight: 860;
}

.section-head p {
  max-width: 690px;
  margin: 24px auto 0;
  color: #6b7a92;
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 62px;
}

.feature-card {
  min-height: 470px;
  border: 1px solid #dfe9f6;
  border-radius: 18px;
  padding: 42px 38px;
  box-shadow: 0 18px 44px rgb(53 92 148 / 6%);
}

.feature-card.communication {
  background: linear-gradient(135deg, #fbfdff 0%, #eef6ff 100%);
}

.feature-card.time {
  background: linear-gradient(135deg, #fffdf8 0%, #fff6e6 100%);
}

.feature-card.finance {
  background: linear-gradient(135deg, #fbfffd 0%, #eaf9f1 100%);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 42px;
}

.feature-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.25;
}

.feature-card h3 {
  margin-bottom: 24px;
  color: #17243a;
  font-size: 25px;
  line-height: 1.2;
}

.feature-card p {
  color: #62738d;
  font-size: 16px;
  line-height: 1.75;
}

.feature-card ul {
  display: grid;
  gap: 16px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  color: #1f2f46;
  font-size: 15px;
  font-weight: 760;
}

.feature-card li {
  position: relative;
  padding-left: 30px;
}

.feature-card li::before {
  position: absolute;
  top: -1px;
  left: 0;
  color: #2372e8;
  content: "✓";
  font-size: 18px;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
  border: 1px solid #e1eaf7;
  border-radius: 18px;
  padding: 32px 42px;
  background: linear-gradient(135deg, #fbfdff, #f2f7ff);
}

.stats div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 20px;
  align-items: center;
}

.stat-icon {
  grid-row: 1 / span 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #edf4ff;
}

.stat-icon::before {
  font-size: 23px;
  font-weight: 900;
}

.stat-icon.users::before {
  content: "▦";
}

.stat-icon.team::before {
  content: "♢";
}

.stat-icon.done::before {
  content: "▣";
}

.stat-icon.uptime::before {
  content: "♡";
}

.stats dt {
  color: #17243a;
  font-size: 34px;
  font-weight: 860;
  line-height: 1.1;
}

.stats dd {
  color: #6c7b93;
  font-size: 13px;
  line-height: 1.4;
}

.benefits-section {
  padding-top: 92px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 46px;
  margin-top: 72px;
}

.benefits-grid article {
  text-align: center;
}

.benefit-icon {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 34px;
  color: #6fa2ff;
}

.benefit-icon::before {
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.target::before {
  content: "◎";
}

.bars-icon::before {
  content: "▥";
}

.people::before {
  content: "♧";
}

.shield-icon::before {
  content: "◇";
}

.rocket::before {
  content: "↗";
}

.benefits-grid h3 {
  margin-bottom: 18px;
  color: #17243a;
  font-size: 17px;
  line-height: 1.25;
}

.benefits-grid p {
  color: #6c7b93;
  font-size: 15px;
  line-height: 1.75;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(380px, .82fr) minmax(520px, 1.18fr);
  gap: 32px;
  width: min(1224px, calc(100% - 112px));
  margin: 112px auto 74px;
  overflow: hidden;
  border: 1px solid #dde8f6;
  border-radius: 18px;
  padding: 64px 52px;
  background:
    radial-gradient(circle at 70% 26%, rgb(238 247 255 / 95%), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.cta-copy {
  align-self: center;
}

.cta-copy h2 {
  max-width: 500px;
  color: #17243a;
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1.22;
  font-weight: 860;
}

.cta-copy p {
  max-width: 500px;
  margin-top: 28px;
  color: #62738d;
  font-size: 17px;
  line-height: 1.72;
}

.cta-copy .primary-button {
  margin-top: 38px;
}

.growth-chart {
  position: relative;
  min-height: 336px;
}

.growth-svg {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 280px;
}

.grid-line {
  fill: none;
  stroke: #d9e5f6;
  stroke-dasharray: 5 13;
}

.growth-line,
.arrow-line {
  fill: none;
  stroke: #76a5ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bars {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 12%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 22px;
  height: 170px;
}

.bars i {
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #a8c6ff 0%, #d7e6ff 100%);
}

.bars i:nth-child(1) { height: 12px; }
.bars i:nth-child(2) { height: 26px; }
.bars i:nth-child(3) { height: 48px; }
.bars i:nth-child(4) { height: 75px; }
.bars i:nth-child(5) { height: 104px; }
.bars i:nth-child(6) { height: 132px; }
.bars i:nth-child(7) { height: 162px; }

.chart-bubble {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow-soft);
}

.chart-bubble svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.4;
}

.chart-bubble.chat {
  top: 118px;
  left: 20%;
  color: var(--blue);
}

.chart-bubble.time {
  top: 72px;
  left: 45%;
  color: var(--amber);
}

.chart-bubble.finance {
  top: 20px;
  right: 18%;
  color: var(--green);
}

.site-footer {
  background: #f8fbff;
  border-top: 1px solid #e5edf8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 72px;
  width: min(1224px, calc(100% - 112px));
  margin: 0 auto;
  padding: 56px 0 48px;
}

.footer-brand {
  margin-bottom: 18px;
  font-size: 24px;
}

.footer-grid p,
.footer-grid a,
.footer-grid address {
  color: #6c7b93;
  font-style: normal;
  line-height: 1.85;
}

.footer-grid p {
  max-width: 260px;
}

.footer-grid h2 {
  margin-bottom: 16px;
  color: #17243a;
  font-size: 15px;
  line-height: 1.3;
}

.footer-grid nav,
.footer-grid address {
  display: grid;
  align-content: start;
  gap: 6px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #7890ac;
  background: #eaf2ff;
  font-size: 13px;
  font-weight: 900;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 70px;
  width: min(1224px, calc(100% - 112px));
  margin: 0 auto;
  border-top: 1px solid #e5edf8;
  padding: 26px 0;
  color: #7a899e;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .section,
  .cta-section,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 48px, 1224px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 80px;
  }

  .hero-copy {
    padding-top: 0;
  }

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

  .product-window {
    left: 50%;
    right: auto;
    transform: translateX(-50%) perspective(1300px) rotateY(-4deg) rotateX(3deg);
  }

  .feature-grid,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .section,
  .cta-section,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, 1224px);
  }

  .site-header {
    min-height: 74px;
    padding-top: 18px;
  }

  .brand {
    font-size: 22px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions .login-link,
  .telegram-button span {
    display: none;
  }

  .telegram-button {
    width: 46px;
    min-height: 46px;
    padding: 0;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .trust-row,
  .stats,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button {
    width: 100%;
    min-width: 0;
  }

  .trust-row {
    gap: 28px;
    margin-top: 64px;
  }

  .hero-visual {
    min-height: 700px;
    overflow: hidden;
  }

  .product-window {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
    min-height: 0;
    top: 44px;
    transform: translateX(-50%);
  }

  .mock-sidebar {
    display: none;
  }

  .mock-tasks,
  .mock-finance {
    border-right: 0;
  }

  .orbit,
  .orbit-dot,
  .floating-symbol {
    display: none;
  }

  .features-section {
    padding-top: 52px;
  }

  .feature-grid,
  .benefits-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
    padding: 30px 26px;
  }

  .stats div {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .benefits-section {
    padding-top: 68px;
  }

  .benefits-grid {
    gap: 36px;
  }

  .cta-section {
    margin-top: 70px;
    padding: 32px 22px;
  }

  .growth-chart {
    min-height: 270px;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    gap: 14px;
  }
}
