:root {
  --ink: #171717;
  --text: #2d3338;
  --muted: #66717c;
  --page: #f6f8fb;
  --surface: #ffffff;
  --line: #dde4ec;
  --android: #01875f;
  --android-dark: #006b4b;
  --ios: #0071e3;
  --ios-dark: #005bb8;
  --accent: #e85d3f;
  --gold: #b7791f;
  --shadow-soft: 0 12px 30px rgba(24, 32, 43, 0.08);
}

* {
  box-sizing: border-box;
}

body.site_page {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 251, 0.98)),
    var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.wrap_app_list {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.platform_banner,
.header_banner {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 30px;
  margin: 0 0 22px;
}

.platform_ios .header_banner {
  border-top-color: var(--ios);
}

.platform_android .platform_banner {
  border-top-color: var(--android);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.platform_ios .eyebrow {
  color: var(--ios-dark);
}

.platform_banner h1,
.header_banner h1 {
  max-width: 860px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.14;
  letter-spacing: 0;
}

.platform_banner p,
.header_banner p,
.seo_intro p,
.faq_item p {
  color: var(--muted);
}

.platform_banner > p:not(.eyebrow),
.header_banner > p:not(.eyebrow) {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: 16px;
}

.platform_buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.btn_android,
.btn_iphone,
.install_button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn_android,
.btn_iphone {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 16px;
}

.btn_android.is_active,
.platform_android .install_button a {
  border-color: var(--android);
  background: var(--android);
  color: #ffffff;
}

.btn_iphone.is_active,
.platform_ios .install_button a {
  border-color: var(--ios);
  background: var(--ios);
  color: #ffffff;
}

.btn_android:hover,
.btn_iphone:hover,
.install_button a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(24, 32, 43, 0.12);
  opacity: 1;
}

.platform_android .install_button a:hover {
  background: var(--android-dark);
}

.platform_ios .install_button a:hover {
  background: var(--ios-dark);
}

.seo_intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 24px 0;
  margin: 0 0 24px;
}

.seo_intro h2,
.section_title,
.faq h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.seo_intro h2 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.seo_intro p {
  max-width: 790px;
  margin: 0;
  font-size: 15px;
}

.stats_strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 320px;
}

.stats_strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 11px;
}

.section_title {
  text-align: left;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 16px;
}

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

.app_card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 156px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(24, 32, 43, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app_card:hover {
  transform: translateY(-2px);
  border-color: #c8d3df;
  box-shadow: 0 14px 28px rgba(24, 32, 43, 0.11);
}

.app_image_link {
  display: block;
  width: 118px;
  min-width: 0;
  background: #eef2f6;
}

.app_card img {
  display: block;
  width: 118px;
  height: 100%;
  min-height: 156px;
  object-fit: cover;
}

.app_info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 16px;
}

.app_category {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 9px;
  border-radius: 999px;
  background: #eef7f3;
  color: var(--android-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  padding: 5px 9px;
  overflow-wrap: anywhere;
}

.platform_ios .app_category {
  background: #eef6ff;
  color: var(--ios-dark);
}

.app_info h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.app_info h3 a {
  color: inherit;
  text-decoration: none;
}

.app_info h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app_description {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.install_button {
  margin-top: auto;
}

.install_button a {
  width: fit-content;
  color: #ffffff;
  padding: 10px 13px;
}

.install_button a::before {
  content: none;
}

.install_button a::after {
  content: " ->";
}

.faq {
  margin-top: 30px;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq h2 {
  text-align: left;
  font-size: 22px;
  margin-bottom: 14px;
}

.faq_item {
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.faq_item:last-child {
  border-bottom: 0;
}

.faq_item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.footer_note {
  margin: 26px 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media screen and (max-width: 860px) {
  .wrap_app_list {
    padding: 16px;
  }

  .platform_banner,
  .header_banner {
    padding: 22px;
  }

  .platform_banner h1,
  .header_banner h1 {
    font-size: 28px;
  }

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

  .stats_strip {
    justify-content: flex-start;
    max-width: none;
  }

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

@media screen and (max-width: 520px) {
  .wrap_app_list {
    padding: 12px;
  }

  .platform_banner,
  .header_banner {
    padding: 18px;
  }

  .platform_banner h1,
  .header_banner h1 {
    font-size: 24px;
  }

  .platform_buttons,
  .stats_strip {
    gap: 8px;
  }

  .btn_android,
  .btn_iphone {
    flex: 1 1 140px;
  }

  .app_card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 138px;
  }

  .app_image_link {
    width: 92px;
  }

  .app_card img {
    width: 92px;
    min-height: 138px;
  }

  .app_info {
    padding: 13px;
  }

  .install_button a {
    width: 100%;
  }
}
