:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #1c1927;
  --muted: #575263;
  --violet: #5937ba;
  --lavender: #ece5fb;
  --line: #ded9e4;
  --mint: #b7f3d8;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
html[dir='rtl'] {
  font-family: Tahoma, system-ui, sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 0.24em;
}
a:hover {
  color: var(--violet);
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8156d9;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
section[id] {
  scroll-margin-block-start: 1.5rem;
}
code,
kbd {
  font-family: ui-monospace, Consolas, monospace;
}
code {
  unicode-bidi: isolate;
}
.wrap {
  max-width: 1256px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 68px);
}
.skip {
  position: fixed;
  z-index: 3;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 10px 18px;
  transform: translateY(-160%);
  background: white;
}
.skip:focus {
  transform: translateY(0);
}
.masthead {
  border-block-end: 1px solid var(--line);
}
.masthead .wrap,
.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}
.masthead .wrap {
  padding-block: 18px;
}
.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 1.15rem;
}
.brand img {
  border-radius: 9px;
}
.nav {
  gap: 14px 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 650;
}
.nav a {
  text-decoration: none;
}
.locale {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding-block: clamp(46px, 8vw, 116px) clamp(44px, 6vw, 84px);
}
.eyebrow {
  font-weight: 750;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}
html[dir='rtl'] .eyebrow {
  letter-spacing: 0;
}
h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.65rem);
  line-height: 0.99;
  font-weight: 850;
  letter-spacing: -0.065em;
  margin-block: 18px 24px;
}
h1 span {
  display: block;
  color: var(--violet);
}
html[dir='rtl'] h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.3rem);
  letter-spacing: -0.045em;
  line-height: 1.27;
}
.lead {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.16rem);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 730;
  font-size: 0.91rem;
}
.button.primary {
  background: var(--violet);
  color: white;
}
.button.primary:hover {
  background: #49299f;
}
.button.secondary {
  border-color: var(--line);
  background: white;
}
.hero-visual {
  min-width: 0;
  padding: clamp(12px, 2.7vw, 34px);
  border: 1px solid #e0d3f5;
  border-radius: 22px;
  background: radial-gradient(ellipse at 92% 14%, #f4def0, transparent 58%), #eae1f9;
}
.window {
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid #3c334c;
  box-shadow: 0 18px 36px #38245f29;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #282334;
}
.window-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9788ad;
}
.hero-visual img,
.showcase img {
  width: 100%;
}
.caption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-block-start: 14px;
  color: #4d3e60;
  font-size: 0.8rem;
  font-weight: 680;
}
.caption::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6a48b6;
  flex: 0 0 auto;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 680;
}
.facts span::before {
  content: '•';
  color: var(--violet);
  margin-inline-end: 8px;
}
.section {
  padding-block: clamp(54px, 8vw, 100px);
}
.section h2 {
  margin-block: 8px 14px;
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.052em;
}
html[dir='rtl'] .section h2 {
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.feature-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-block-start: 30px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: clamp(16px, 2.5vw, 25px);
}
.card h3 {
  font-size: 1.08rem;
  margin-block: 12px 7px;
  line-height: 1.35;
}
.card p {
  color: var(--muted);
  font-size: 0.92rem;
}
.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--lavender);
  color: var(--violet);
  font-size: 1rem;
  font-weight: 800;
}
.showcase {
  background: #211a30;
  color: #fff;
}
.showcase .eyebrow {
  color: var(--mint);
}
.showcase .lead {
  color: #e0d5ed;
}
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 65px);
}
.showcase .window {
  border-color: #655278;
}
.showcase figcaption {
  color: #d9cbe6;
  font-size: 0.8rem;
  margin-block-start: 10px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 23px 0 0;
  counter-reset: steps;
  display: grid;
  gap: 13px;
}
.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: #e0d5ed;
}
.steps li::before {
  content: counter(steps, decimal-leading-zero);
  font-family: ui-monospace, monospace;
  color: var(--mint);
  font-size: 0.84rem;
  padding-block-start: 3px;
}
.steps strong {
  color: #fff;
}
.download-grid .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.download-grid h3 {
  margin-block-start: 0;
}
.download-grid .button {
  margin-block-start: 16px;
}
.install,
.faq {
  margin-block-start: 25px;
}
.install {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px 15px;
}
details + details {
  margin-block-start: 8px;
}
.install details + details {
  margin-block-start: 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details p {
  margin-block-start: 10px;
  color: var(--muted);
}
.footer {
  border-block-start: 1px solid var(--line);
}
.footer .wrap {
  padding-block: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.simple {
  min-height: 65vh;
  padding-block: 75px;
}

@media (max-width: 850px) {
  .hero,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero-visual,
  .showcase figure {
    max-width: 680px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .masthead .wrap {
    gap: 10px 16px;
    padding-block: 12px;
  }
  .nav {
    gap: 8px 15px;
  }
  .feature-grid,
  .download-grid,
  .install {
    grid-template-columns: 1fr;
  }
  .actions {
    margin-block-start: 18px;
  }
}
