:root {
  --ink: #15171d;
  --muted: #697080;
  --paper: #fbfaf7;
  --line: #e7e1d7;
  --orange: #f26322;
  --green: #19785d;
  --blue: #1f6f9f;
  --charcoal: #20242c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease;
}

.topbar.is-scrolled {
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 136px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.nav-actions,
.hero-actions,
.plan-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-button,
.secondary-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.primary-button {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(242, 99, 34, 0.26);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.link-button {
  color: currentColor;
}

.link-button.dark {
  color: var(--ink);
}

.large {
  min-height: 52px;
  padding: 0 24px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: clamp(88px, 14vw, 220px);
  background: #242832;
}

.hero-device {
  position: relative;
  width: min(36vw, 430px);
  min-width: 260px;
  aspect-ratio: 3936 / 6000;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.34));
  opacity: 1;
  transform: translateY(18px);
}

.hero-slider {
  position: absolute;
  z-index: 0;
  inset: 7% 19% 5% 19%;
  overflow: hidden;
  border-radius: 0;
  background: #15171d;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: heroSlide 20s infinite;
}

.hero-slider img:nth-child(2) {
  animation-delay: 4s;
}

.hero-slider img:nth-child(3) {
  animation-delay: 8s;
}

.hero-slider img:nth-child(4) {
  animation-delay: 12s;
}

.hero-slider img:nth-child(5) {
  animation-delay: 16s;
}

.hero-phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
}

@keyframes heroSlide {
  0%,
  18% {
    opacity: 1;
  }

  24%,
  100% {
    opacity: 0;
  }
}

.hero-shade {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 24, 30, 0.98) 0%, rgba(22, 24, 30, 0.84) 43%, rgba(22, 24, 30, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics span {
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading p,
.modules-copy p,
.control-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.feature-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  object-fit: contain;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.55;
}

.modules {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  background: #eef5f1;
}

.modules-copy {
  align-self: start;
  position: sticky;
  top: 110px;
}

.module-list {
  display: grid;
  gap: 14px;
}

.module-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(25, 120, 93, 0.22);
}

.module-row span {
  color: var(--green);
  font-weight: 900;
}

.module-row p {
  margin-bottom: 0;
  color: #50645d;
  line-height: 1.55;
}

.control {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  background: #20242c;
  color: var(--white);
}

.control-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.control-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #2b303a;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.panel-header {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #88909d;
}

.panel-body {
  padding: 22px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.order-line.active {
  background: rgba(242, 99, 34, 0.18);
  color: #ffd5c3;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.panel-stats div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.panel-stats strong {
  display: block;
  font-size: 26px;
}

.panel-stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--white);
}

.compact {
  margin-bottom: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer img {
  width: 118px;
}

.footer div {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.help-page {
  background: var(--paper);
}

.help-page .topbar {
  color: var(--ink);
}

.help-topbar {
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.help-main {
  padding-top: 92px;
}

.help-hero {
  padding: 72px clamp(18px, 5vw, 72px) 44px;
  background: #20242c;
  color: var(--white);
}

.help-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(52px, 8vw, 104px);
}

.help-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.6;
}

.help-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.help-service {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.help-service span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.help-service strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.help-section {
  padding: 56px clamp(18px, 5vw, 72px);
}

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

.help-section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.help-section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.help-tree {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.help-tree ul {
  margin: 0;
  padding-left: 18px;
}

.help-tree > ul {
  padding-left: 0;
  list-style: none;
}

.help-tree li {
  margin: 9px 0;
  color: var(--muted);
}

.help-tree a {
  color: var(--ink);
  font-weight: 700;
}

.help-tree ul ul a {
  color: var(--muted);
  font-weight: 600;
}

.help-content {
  display: grid;
  gap: 14px;
}

.help-topic {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  scroll-margin-top: 96px;
}

.help-topic.subtopic {
  margin-left: 24px;
  border-left: 4px solid #dbe7e2;
}

.help-topic h3 {
  margin-bottom: 10px;
}

.help-topic p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.help-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.help-media-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border: 1px dashed #c9d2dc;
  border-radius: 8px;
  background: #f6f8fa;
  color: #697080;
  font-weight: 800;
}

.help-media-slot.video {
  background: #eef5f1;
}

.technical-help {
  background: #eef5f1;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

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

  .help-layout,
  .help-services {
    grid-template-columns: 1fr;
  }

  .help-tree {
    position: static;
  }

  .modules,
  .control,
  .plans {
    grid-template-columns: 1fr;
  }

  .modules-copy {
    position: static;
  }

  .plan-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    grid-template-columns: auto 1fr;
    gap: 12px;
    min-height: 62px;
    padding: 10px 14px;
  }

  .brand img {
    width: 104px;
  }

  .nav-actions .link-button {
    display: none;
  }

  .nav-actions {
    justify-content: flex-end;
    gap: 8px;
  }

  .primary-button,
  .secondary-button,
  .link-button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .large {
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }

  .hero {
    min-height: 760px;
    align-items: flex-start;
    padding-top: 104px;
  }

  .hero-media {
    justify-content: center;
    align-items: flex-end;
    padding: 0 0 28px;
  }

  .hero-device {
    width: min(58vw, 230px);
    min-width: 0;
    opacity: 0.26;
    transform: translateY(0);
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(22, 24, 30, 0.96) 0%, rgba(22, 24, 30, 0.9) 58%, rgba(22, 24, 30, 0.74) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding-top: 0;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(52px, 18vw, 78px);
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(28px, 10vw, 38px);
    line-height: 1.06;
  }

  .hero-copy {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-actions,
  .plan-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions a,
  .plan-actions a {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 24px;
  }

  .hero-metrics span {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .section {
    padding: 58px 16px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading p,
  .modules-copy p,
  .control-copy p {
    font-size: 16px;
  }

  .overview-grid,
  .panel-stats,
  .help-media-grid {
    grid-template-columns: 1fr;
  }

  .help-topic.subtopic {
    margin-left: 0;
  }

  .feature-card {
    min-height: auto;
    padding: 20px;
  }

  .module-row {
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .control {
    gap: 28px;
  }

  .control-panel {
    order: 2;
  }

  .control-copy {
    order: 1;
  }

  .panel-body {
    padding: 16px;
  }

  .order-line {
    min-height: 52px;
    padding: 14px;
    font-size: 14px;
  }

  .plans {
    gap: 24px;
    align-items: stretch;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 16px;
  }

  .footer div {
    flex-wrap: wrap;
  }
}
