:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --surface-blue: #f2f7ff;
  --text: #172033;
  --muted: #647085;
  --line: #e3e8f0;
  --line-strong: #d4dce8;
  --brand: #0f6bff;
  --brand-strong: #084bc4;
  --accent: #10a37f;
  --warning: #f5a524;
  --radius: 8px;
  --shadow: 0 16px 44px rgba(23, 32, 51, 0.1);
  --shadow-soft: 0 8px 24px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(15, 107, 255, 0.28);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.soft-section {
  background: var(--surface-soft);
}

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

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a,
.site-footer a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(15, 107, 255, 0.22);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  color: var(--text);
  background: #fff;
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: rgba(15, 107, 255, 0.42);
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 72px;
  background:
    linear-gradient(140deg, rgba(15, 107, 255, 0.07), rgba(16, 163, 127, 0.05) 42%, rgba(255, 255, 255, 0) 68%),
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.8vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.28;
}

p {
  color: var(--muted);
}

.hero-text {
  max-width: 680px;
  font-size: 1.08rem;
}

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

.hero-note,
.muted {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-note {
  margin-top: 14px;
}

.product-mockup {
  position: relative;
  min-height: 430px;
}

.desktop-frame,
.tablet-frame,
.phone-frame {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.desktop-frame {
  border-radius: 14px;
  overflow: hidden;
}

.mock-toolbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.mock-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mock-layout {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 320px;
}

.mock-layout aside {
  padding: 18px 16px;
  display: grid;
  align-content: start;
  gap: 16px;
  border-right: 1px solid var(--line);
  background: #f8fbff;
}

.mock-layout aside strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: var(--brand);
}

.mock-layout aside span {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: #dce6f5;
}

.mock-layout section {
  padding: 22px;
}

.mock-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-bottom: 18px;
}

.mock-title small,
.mock-title strong,
.tablet-frame span,
.tablet-frame strong,
.tablet-frame small,
.phone-frame span,
.phone-frame strong,
.phone-frame small {
  display: block;
}

.mock-title small {
  color: var(--muted);
  font-weight: 700;
}

.mock-title strong {
  font-size: 2rem;
  line-height: 1.1;
}

.mock-title button {
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  padding: 11px 12px;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-row article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric-row span,
.tablet-frame span,
.phone-frame span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-row strong {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
}

.mock-table {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.mock-table span {
  height: 34px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #edf3fb, #f7faff);
}

.tablet-frame,
.phone-frame {
  position: absolute;
  border-radius: 16px;
  padding: 18px;
}

.tablet-frame {
  right: 8px;
  bottom: 12px;
  width: 200px;
}

.phone-frame {
  left: 26px;
  bottom: 0;
  width: 142px;
}

.tablet-frame strong,
.phone-frame strong {
  margin: 8px 0 2px;
  font-size: 1.7rem;
}

.phone-frame {
  border-radius: 22px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.compact-card,
.category-card,
.concept-card,
.mode-card,
.info-card,
.license-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.compact-card,
.category-card,
.concept-card,
.mode-card,
.info-card {
  padding: 20px;
}

.feature-card {
  min-height: 230px;
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--brand);
  border: 1px solid rgba(15, 107, 255, 0.16);
  border-radius: var(--radius);
  background: var(--surface-blue);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.license-grid,
.split-grid,
.device-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(360px, 1.14fr);
  gap: 28px;
  align-items: start;
}

.license-offer {
  display: grid;
  gap: 14px;
}

.license-offer .section-heading {
  margin-bottom: 2px;
}

.license-card {
  padding: 22px;
}

.license-card-head {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.license-card-head .icon-badge {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.price-panel {
  margin-bottom: 0;
  padding: 20px;
  border: 1px solid rgba(15, 107, 255, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 107, 255, 0.08), rgba(16, 163, 127, 0.08));
}

.price-panel span,
.price-panel small,
.branch-pricing span,
.branch-pricing small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.price-panel strong {
  display: block;
  margin: 4px 0;
  color: var(--text);
  font-size: 3rem;
  line-height: 1;
}

.branch-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.branch-pricing article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.branch-pricing strong {
  display: block;
  margin: 4px 0;
  font-size: 1.35rem;
}

.license-includes-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.license-includes-head span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--surface-blue);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.license-includes-head h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.check-list {
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.license-includes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.license-includes li {
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  font-size: 0.86rem;
  overflow: hidden;
}

.license-includes li::before {
  left: 12px;
  top: 13px;
}

.license-includes li::after {
  left: 17px;
  top: 18px;
}

.license-detail {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.license-detail summary,
.license-includes li > .license-item-title {
  min-height: 42px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px 10px 8px 38px;
  cursor: pointer;
}

.license-detail summary {
  list-style: none;
}

.license-detail summary::-webkit-details-marker {
  display: none;
}

.license-item-title {
  color: var(--text);
  font-weight: 800;
  line-height: 1.28;
}

.license-more {
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 800;
}

.license-detail p {
  margin: 0;
  padding: 0 12px 12px 38px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 163, 127, 0.12);
  border: 1px solid rgba(16, 163, 127, 0.32);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.62em;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.license-includes li {
  padding: 0;
}

.license-includes li::before {
  left: 12px;
  top: 13px;
}

.license-includes li::after {
  left: 17px;
  top: 18px;
}

.license-offer .btn {
  margin-top: 8px;
}

.important-note {
  margin-top: 18px;
  padding: 14px;
  color: #6d4a08;
  background: #fff8e8;
  border: 1px solid #f7d99b;
  border-radius: var(--radius);
}

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

.store-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mode-card.recommended {
  border-color: rgba(15, 107, 255, 0.42);
  box-shadow: 0 18px 46px rgba(15, 107, 255, 0.14);
}

.mode-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mode-card ul,
.category-card ul {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.mode-card li,
.category-card li {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.compact-card {
  min-height: 185px;
}

.compact-card p {
  margin-bottom: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.category-card h3 {
  color: var(--brand);
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(15, 107, 255, 0.12);
}

.timeline-item span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.device-section {
  overflow: hidden;
}

.social-section {
  padding: 86px 0;
  background:
    linear-gradient(135deg, rgba(16, 163, 127, 0.08), rgba(15, 107, 255, 0.06)),
    #fff;
}

.social-grid {
  display: grid;
  gap: 34px;
}

.social-grid .section-heading {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  text-align: center;
}

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

.social-link {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 107, 255, 0.34);
  box-shadow: var(--shadow);
}

.social-icon {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-link strong,
.social-link small {
  display: block;
}

.social-link strong {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 1.1rem;
}

.social-link small {
  color: var(--muted);
  font-weight: 700;
}

.device-grid {
  align-items: center;
}

.device-visual {
  position: relative;
  min-height: 360px;
}

.device {
  position: absolute;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(15, 107, 255, 0.08), rgba(16, 163, 127, 0.08)),
    #fff;
  box-shadow: var(--shadow);
}

.desktop-device {
  left: 0;
  top: 42px;
  width: 78%;
  height: 250px;
  border-radius: 14px;
}

.tablet-device {
  right: 44px;
  top: 0;
  width: 160px;
  height: 230px;
  border-radius: 18px;
}

.phone-device {
  right: 0;
  bottom: 0;
  width: 92px;
  height: 178px;
  border-radius: 22px;
}

.desktop-device::before,
.tablet-device::before,
.phone-device::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(#d9e6f8 0 0) 0 0 / 65% 12px no-repeat,
    linear-gradient(#edf3fb 0 0) 0 34px / 100% 44px no-repeat,
    linear-gradient(#edf3fb 0 0) 0 96px / 78% 44px no-repeat;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  list-style: none;
}

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

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

.final-cta {
  background: #fff;
}

.cta-card {
  padding: 38px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(15, 107, 255, 0.08), rgba(16, 163, 127, 0.06)),
    #fff;
}

.cta-card .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 44px 0 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
}

.footer-grid p {
  margin-top: 12px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: var(--muted);
  font-weight: 700;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

html.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 12px;
    font-size: 0.84rem;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

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

  .store-modes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 56px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 10px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero-grid,
  .license-grid,
  .split-grid,
  .device-grid,
  .social-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .product-mockup {
    min-height: 390px;
  }

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

  .social-card {
    grid-template-columns: 1fr;
  }

  .social-link {
    min-height: 160px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-card .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-card .btn,
  .license-offer .btn {
    width: 100%;
  }

  .nav-actions .btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .card-grid,
  .compact-grid,
  .category-grid,
  .branch-pricing,
  .license-includes,
  .social-card {
    grid-template-columns: 1fr;
  }

  .social-section {
    padding: 62px 0;
  }

  .social-link {
    min-height: 178px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .mock-layout {
    grid-template-columns: 52px 1fr;
  }

  .mock-layout aside {
    padding: 14px 9px;
  }

  .mock-layout section {
    padding: 16px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .mock-title {
    display: block;
  }

  .mock-title button {
    margin-top: 12px;
  }

  .tablet-frame {
    right: 0;
    bottom: 16px;
    width: 170px;
  }

  .phone-frame {
    left: 10px;
  }

  .license-card,
  .cta-card {
    padding: 22px;
  }

}
