:root {
  color-scheme: light;
  --ink: #17212f;
  --muted: #5d6a79;
  --line: #d8dde5;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --amber: #b7791f;
  --blue: #2563eb;
  --shadow: 0 22px 60px rgba(23, 33, 47, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

.page {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 251, 0.88);
  border-bottom: 1px solid rgba(216, 221, 229, 0.72);
  backdrop-filter: blur(16px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: rgba(247, 248, 251, 0.88);
  border-top: 1px solid rgba(216, 221, 229, 0.72);
}

.brand,
.language-links,
.nav,
.store-link,
.trust-row,
.status-title {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 700;
}

.footer-developer,
.footer-copyright {
  margin: 0;
  font-size: 0.9rem;
}

.footer-developer {
  text-align: left;
}

.footer-copyright {
  text-align: right;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
}

.brand-mark img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.language-links a:hover,
.store-link:hover {
  color: var(--ink);
}

.language-links {
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
}

.language-links [aria-current="page"] {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.store-link {
  flex: 0 0 auto;
  width: 150px;
  height: 50px;
  border-radius: 8px;
}

.store-link:hover {
  opacity: 0.88;
}

.store-link img {
  display: block;
  width: 150px;
  height: 50px;
  object-fit: contain;
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 76px);
}

.hero-copy {
  max-width: 680px;
}

.hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 24px;
}

.hero-store-link {
  margin-bottom: 8px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 58ch;
  color: #354153;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chip {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #435166;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 650;
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
}

.window {
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid rgba(23, 33, 47, 0.1);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f1f4f8;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c7ced8;
}

.app-layout {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 450px;
}

.sidebar {
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  background: #eef2f7;
}

[dir="rtl"] .sidebar {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.thumb {
  height: 112px;
  margin-bottom: 14px;
  border: 1px solid #d3dae4;
  border-radius: 6px;
  background: linear-gradient(#ffffff, #f8fafc);
}

.thumb::before,
.thumb::after {
  content: "";
  display: block;
  height: 7px;
  margin: 14px 12px 0;
  border-radius: 99px;
  background: #d8dee8;
}

.document-stage {
  display: grid;
  place-items: center;
  padding: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #edf4f7 100%);
}

.pdf-page {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 0.72;
  padding: 34px 32px;
  border: 1px solid #d8dee7;
  border-radius: 4px;
  background: white;
  box-shadow: 0 14px 34px rgba(23, 33, 47, 0.13);
}

.pdf-title {
  width: 54%;
  height: 14px;
  border-radius: 99px;
  background: var(--ink);
}

.line {
  height: 8px;
  margin-top: 14px;
  border-radius: 99px;
  background: #dbe2ec;
}

.line.short {
  width: 68%;
}

.signature-box {
  position: absolute;
  right: 30px;
  bottom: 36px;
  width: 168px;
  min-height: 82px;
  padding: 13px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #eefaf8;
}

[dir="rtl"] .signature-box {
  right: auto;
  left: 30px;
}

.signature-box strong {
  display: block;
  color: var(--accent-strong);
  font-size: 0.92rem;
  line-height: 1.2;
}

.signature-box span {
  display: block;
  margin-top: 6px;
  color: #516172;
  font-size: 0.78rem;
}

.status-panel {
  position: absolute;
  right: 4px;
  bottom: 28px;
  width: min(290px, 54%);
  padding: 18px;
  border: 1px solid rgba(216, 221, 229, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(23, 33, 47, 0.14);
}

[dir="rtl"] .status-panel {
  right: auto;
  left: 4px;
}

.status-title {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 750;
}

.badge {
  padding: 5px 8px;
  border-radius: 999px;
  color: #075e54;
  background: #dff6f0;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #edf0f4;
  color: #546174;
  font-size: 0.86rem;
}

.metric b {
  color: var(--ink);
}

section {
  padding: clamp(44px, 6vw, 78px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: white;
}

section.alt {
  background: #f4f7fa;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-strong);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page {
  min-height: calc(100vh - 101px);
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  max-width: 100%;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.14;
}

.legal-content h3 {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  color: #354153;
  font-size: 1.04rem;
}

.legal-content ul {
  margin: 18px 0 0;
  padding-left: 24px;
}

.policy-section {
  scroll-margin-top: 128px;
  padding-top: 20px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

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

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

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-weight: 850;
}

.card h3,
.step h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.card p,
.step p {
  margin: 10px 0 0;
  color: var(--muted);
}

.workflow,
.profiles {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

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

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

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.support-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.support-block h3 {
  margin: 0;
  font-size: 1.08rem;
}

.support-block p,
.support-block li {
  color: var(--muted);
}

.support-block p {
  margin: 10px 0 0;
}

.support-block ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.support-faq {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 16px 0 0;
}

.faq-item dt {
  color: var(--ink);
  font-weight: 750;
}

.faq-item dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.support-contact-line {
  margin: 22px 0 0;
  color: var(--muted);
}

.support-contact {
  display: inline;
  color: var(--accent-strong);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.step,
.profile {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.step-number {
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
}

.step h3 {
  margin-top: 14px;
}

.profile {
  border-color: #d7e3e2;
  background: #f8fffe;
}

.profile strong {
  display: block;
  color: var(--accent-strong);
  font-size: 1rem;
}

.profile span {
  display: block;
  margin-top: 8px;
  color: #526174;
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .topbar,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-tools {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-copyright {
    text-align: left;
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-visual {
    min-height: 460px;
  }

  .feature-grid,
  .workflow,
  .profiles,
  .support-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    max-width: 9ch;
  }

  .product-visual {
    min-height: 410px;
  }

  .app-layout {
    grid-template-columns: 76px 1fr;
    min-height: 330px;
  }

  .sidebar {
    padding: 12px 10px;
  }

  .thumb {
    height: 72px;
  }

  .document-stage {
    padding: 18px;
  }

  .pdf-page {
    padding: 24px 20px;
  }

  .signature-box {
    right: 18px;
    bottom: 22px;
    width: 132px;
  }

  [dir="rtl"] .signature-box {
    right: auto;
    left: 18px;
  }

  .status-panel {
    right: 10px;
    bottom: 8px;
    width: min(250px, calc(100% - 40px));
    margin: 0;
    padding: 14px;
  }

  [dir="rtl"] .status-panel {
    right: auto;
    left: 10px;
  }

  .metric {
    font-size: 0.8rem;
  }

  .feature-grid,
  .workflow,
  .profiles,
  .support-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

}
