:root {
  color-scheme: light;
  --ink: #14161a;
  --muted: #5f6875;
  --soft: #f7f8fb;
  --panel: #ffffff;
  --line: #e2e6ee;
  --brand: #18a866;
  --brand-dark: #0e6e48;
  --gold: #f5b83d;
  --red: #e84b54;
  --cyan: #16a6bd;
  --deep: #24262d;
  --shadow: 0 18px 48px rgba(18, 22, 34, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 230, 238, 0.78);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(24, 168, 102, 0.22);
}

.brand span {
  font-size: 1.02rem;
}

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

.nav a {
  min-height: 40px;
  padding: 9px 12px;
  color: #343a43;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
  border-radius: 8px;
}

.nav a:hover,
.nav a:focus-visible {
  background: #edf8f2;
  color: var(--brand-dark);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: 0;
  cursor: pointer;
}

.menu-toggle::before {
  content: "☰";
  font-size: 1.25rem;
  line-height: 1;
}

.button,
.ghost-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), #0d8e59);
  box-shadow: 0 14px 28px rgba(24, 168, 102, 0.24);
}

.button:hover,
.button:focus-visible {
  background: linear-gradient(135deg, #20b977, #0f744e);
  outline: none;
}

.ghost-button {
  color: var(--ink);
  background: #ffffff;
  border-color: #dce2eb;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  border-color: var(--brand);
  color: var(--brand-dark);
  outline: none;
}

.hero {
  position: relative;
  min-height: min(82vh, 760px);
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.88) 0%, rgba(10, 14, 18, 0.74) 47%, rgba(10, 14, 18, 0.18) 100%),
    url("bg.jpg") right 10% top 4% / min(56vw, 520px) auto no-repeat,
    radial-gradient(circle at 84% 18%, rgba(245, 184, 61, 0.26), transparent 30%),
    #111418;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 96px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #dff8eb;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.1rem;
}

.hero p {
  max-width: 660px;
  margin: 20px 0 0;
  color: #edf4f1;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  color: #f4fbf6;
}

.hero-meta span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.content-band {
  background: #ffffff;
}

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

.section.compact {
  padding: 44px 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-header p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.05);
}

.card {
  padding: 22px;
}

.card p,
.info-card p,
.list p {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #edf8f2;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.visual-panel {
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 48%, rgba(247, 248, 251, 0.95) 100%),
    url("bg.jpg") center top / cover no-repeat;
  box-shadow: var(--shadow);
}

.download-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: 8px;
  background: var(--deep);
  color: #ffffff;
}

.download-strip p {
  color: #dbe3e9;
  margin: 4px 0 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f3f7f6;
  font-size: 0.88rem;
}

tr:last-child td {
  border-bottom: none;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  padding: 20px 20px 20px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #201500;
  font-weight: 900;
}

.notice {
  padding: 18px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fff8e8;
}

.notice strong {
  color: #7b5200;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(16, 18, 22, 0.9), rgba(16, 18, 22, 0.72)),
    url("bg.jpg") right 6% top 11% / min(40vw, 390px) auto no-repeat,
    #171a1f;
  color: #ffffff;
}

.page-hero .section {
  padding: 74px 0 82px;
}

.page-hero p {
  max-width: 720px;
  color: #ecf2f0;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: #cae9d6;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
}

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

.list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  padding: 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  background: #111418;
  color: #ffffff;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}

.site-footer a {
  display: block;
  color: #d6e2dd;
  text-decoration: none;
  margin: 8px 0;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b7c3bd;
  padding: 18px 0;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  font-size: 0.9rem;
}

.floating-support {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 62px;
  height: 62px;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  background: #ffffff;
}

.floating-support img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    width: 100%;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(10, 14, 18, 0.9) 0%, rgba(10, 14, 18, 0.78) 52%, rgba(10, 14, 18, 0.5) 100%),
      url("bg.jpg") center bottom / min(92vw, 430px) auto no-repeat,
      #111418;
  }

  .hero-inner {
    padding: 72px 0 280px;
  }

  .grid.three,
  .grid.two,
  .feature-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .download-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    background:
      linear-gradient(180deg, rgba(16, 18, 22, 0.93), rgba(16, 18, 22, 0.78)),
      url("bg.jpg") right bottom / min(78vw, 340px) auto no-repeat,
      #171a1f;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .section,
  .hero-inner,
  .footer-grid,
  .footer-note {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding-bottom: 238px;
  }

  .button,
  .ghost-button {
    width: 100%;
  }

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

  .floating-support {
    width: 54px;
    height: 54px;
  }
}

.reference-home {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.reference-shell {
  width: min(100vw, 430px);
  min-height: calc(100vh + 900px);
  margin: 0 auto;
  position: relative;
  background: url("bg.jpg") center top / 100% auto no-repeat;
}

.reference-phone {
  position: relative;
  width: 100%;
  min-height: calc(100vh + 900px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reference-main-download {
  position: absolute;
  top: 318px;
  left: 50%;
  width: min(76%, 342px);
  transform: translateX(-50%);
  display: block;
  z-index: 3;
}

.reference-main-download img {
  width: 100%;
  height: auto;
}

.reference-support {
  position: fixed;
  right: 14px;
  bottom: 88px;
  width: 72px;
  height: 72px;
  z-index: 20;
}

.reference-support img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reference-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 76px;
  z-index: 18;
  display: flex;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}

.reference-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  max-width: 430px;
  margin: 0 auto;
  background: #ffffff;
}

.reference-tip,
.reference-footer-download {
  position: relative;
  z-index: 2;
}

.reference-tip {
  width: min(64vw, 286px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 12px;
}

.reference-tip img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.reference-tip strong {
  display: block;
  color: #151515;
  font-size: 18px;
  line-height: 1.2;
}

.reference-tip p {
  margin: 4px 0 0;
  color: #4f5965;
  font-size: 11px;
  line-height: 1.25;
}

.reference-footer-download {
  align-self: center;
  min-width: 116px;
  margin-right: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  color: #ffffff;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #20c86d, #0a8e48);
  box-shadow: 0 10px 22px rgba(16, 161, 82, 0.26);
}

.reference-seo {
  width: min(430px, calc(100vw - 24px));
  margin: 0 auto 106px;
  padding: 28px 0 12px;
  color: #20242b;
}

.reference-seo h2 {
  font-size: 22px;
}

.reference-seo p {
  color: #5d6672;
}

.reference-seo nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.reference-seo a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #0f6c45;
  text-decoration: none;
  background: #edf8f2;
  font-weight: 700;
}

@media (max-width: 380px) {
  .reference-main-download {
    top: 282px;
  }

  .reference-tip {
    width: calc(100vw - 134px);
  }

  .reference-footer-download {
    min-width: 100px;
    font-size: 15px;
  }
}
