:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f9f9fb;
  --text: #1a1a1a;
  --muted: #62616b;
  --line: #ece8f3;
  --panel: #ffffff;
  --accent: #5c2d91;
  --accent-dark: #43206f;
  --accent-soft: #f3ecfb;
  --shadow: 0 22px 55px rgba(40, 24, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.icon-sprite {
  display: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 26px);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover,
.footer a:hover {
  color: var(--accent-dark);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(92, 45, 145, 0.22);
}

.hero {
  display: grid;
  min-height: calc(100vh - 70px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 86% 18%, rgba(92, 45, 145, 0.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li,
span {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 0;
  color: var(--accent);
  font-size: clamp(2.25rem, 5.7vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.08rem;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

.quick-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.quick-benefits li,
.contact-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.mini-icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex: 0 0 auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(92, 45, 145, 0.22);
}

.button.primary:hover,
.header-cta:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
}

.button.large {
  min-width: 250px;
}

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

.mock-device {
  background: #fff;
  border: 1px solid rgba(92, 45, 145, 0.18);
  box-shadow: 0 26px 70px rgba(44, 24, 72, 0.18);
}

.tablet {
  position: absolute;
  top: 20px;
  right: 20px;
  width: min(100%, 520px);
  border-radius: 28px;
  padding: 22px;
}

.device-top,
.device-footer,
.order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.device-top {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.device-top span:first-child,
.device-footer strong {
  color: var(--accent);
}

.table-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.table-map span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  color: var(--text);
  font-weight: 800;
}

.table-map .active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.device-footer {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--muted);
}

.phone {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 210px;
  border-radius: 30px;
  padding: 26px 16px 16px;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 56px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #d9d2e7;
}

.phone h3 {
  color: var(--accent);
}

.order-line {
  margin-top: 10px;
  border-radius: 12px;
  padding: 10px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.86rem;
}

.order-line strong {
  color: var(--text);
}

.phone button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  padding: 11px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 800;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section:nth-of-type(even) {
  background: var(--soft);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading.centered p {
  margin-right: auto;
  margin-left: auto;
}

.cards,
.pricing-grid,
.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-block,
.price-card {
  background: var(--panel);
  border-radius: 8px;
}

.card {
  min-height: 244px;
  padding: 26px;
  border: 1px solid transparent;
  box-shadow: 0 16px 38px rgba(31, 22, 48, 0.08);
}

.card:hover {
  border-color: rgba(92, 45, 145, 0.28);
}

.card-icon,
.step-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--accent);
}

.card p,
.timeline p,
.contact p,
.feature-block li,
.price-card li,
.faq p {
  margin: 0;
  color: var(--muted);
}

.highlight,
.use-cases,
.faq {
  background: var(--soft);
}

.benefit-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.benefit-grid span,
.case-grid span {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(92, 45, 145, 0.22);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.case-grid span {
  border-color: var(--accent);
}

.feature-columns {
  position: relative;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-block {
  padding: 30px;
  border-radius: 0;
}

.feature-block + .feature-block {
  border-left: 1px solid rgba(92, 45, 145, 0.32);
}

.feature-block ul,
.price-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-block li,
.price-card li {
  position: relative;
  padding-left: 28px;
}

.feature-block li::before,
.price-card li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
}

.process-section {
  background: #fff;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 52px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: rgba(92, 45, 145, 0.24);
}

.timeline li {
  position: relative;
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(31, 22, 48, 0.07);
}

.step-number {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 510px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(31, 22, 48, 0.08);
}

.price-card.featured {
  border: 1px solid var(--accent);
  box-shadow: 0 22px 56px rgba(92, 45, 145, 0.18);
}

.plan-tag {
  align-self: flex-start;
  margin: 0 0 14px;
  border-radius: 8px;
  padding: 7px 11px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  margin: 10px 0 0;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 900;
}

.price-card .button {
  margin-top: auto;
}

.price-note {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
}

summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: transform 160ms ease;
}

details[open] .summary-icon {
  transform: rotate(180deg);
}

details p {
  padding: 0 20px 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 72px);
  background: var(--accent);
  color: #fff;
}

.contact .eyebrow,
.contact h2 {
  color: #fff;
}

.contact h2 {
  max-width: 760px;
}

.contact p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-copy > p:not(.eyebrow) {
  margin-top: 14px;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-points span {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-info {
  font-weight: 800;
}

.contact .button.primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #fff;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--accent);
  font-weight: 700;
}

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

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

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

  .tablet {
    left: 0;
    right: auto;
  }

  .cards.four,
  .cards,
  .pricing-grid,
  .benefit-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header,
  .contact,
  .footer {
    align-items: stretch;
  }

  .site-header {
    gap: 14px;
  }

  .header-cta {
    justify-self: end;
  }

  .nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
  }

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

  .tablet {
    width: 100%;
    padding: 16px;
  }

  .table-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-map span {
    min-height: 72px;
  }

  .phone {
    width: 190px;
  }

  .actions,
  .button,
  .header-cta {
    width: 100%;
  }

  .button,
  .header-cta {
    min-height: 52px;
  }

  .cards.four,
  .cards,
  .pricing-grid,
  .feature-columns,
  .benefit-grid,
  .case-grid,
  .timeline,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-block + .feature-block {
    border-top: 1px solid rgba(92, 45, 145, 0.32);
    border-left: 0;
  }

  .card,
  .price-card,
  .timeline li {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }
}
