/* English App Store showcase. Content scopes leave shared navigation untouched. */
.bsm-app-store main {
  --bsm-deep: #07110d;
  --bsm-paper: #fbfbfb;
  --bsm-text: #f3f6f2;
  --bsm-muted: #bdc9c2;
  --bsm-gold: #d9b56f;
  --bsm-line: rgba(255, 255, 255, 0.16);
  color: var(--ink);
  background: var(--bsm-paper);
}

.bsm-app-store main .bsm-wrap {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.bsm-app-store main :is(.bsm-hero-layout, .bsm-workflow-layout, .bsm-builder-layout) {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
}

.bsm-app-store main h2 {
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.bsm-app-store main p {
  text-wrap: pretty;
}

.bsm-app-store main .bsm-hero {
  padding: clamp(116px, 10vw, 144px) 0 64px;
  color: var(--bsm-text);
  background: var(--bsm-deep);
}

.bsm-app-store main .bsm-hero-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.bsm-app-store main .bsm-hero-copy {
  min-width: 0;
  padding-bottom: 24px;
}

.bsm-app-store main h1 {
  margin: 0;
  color: var(--bsm-text);
  font-size: clamp(44px, 5.35vw, 76px);
  font-weight: 680;
  line-height: 1.01;
  letter-spacing: -0.055em;
}

.bsm-app-store main .bsm-hero-question {
  margin-top: 28px;
  color: var(--bsm-gold);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 540;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.bsm-app-store main .bsm-intro {
  max-width: 460px;
  margin-top: 16px;
  color: var(--bsm-muted);
  font-size: 18px;
  line-height: 1.65;
}

.bsm-app-store main .bsm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}

.bsm-app-store main .bsm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: var(--bsm-deep);
  background: linear-gradient(145deg, #fff, #e8f1eb);
  box-shadow: inset 0 1px 0 #fff, 0 3px 12px rgba(0, 0, 0, 0.08);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.bsm-app-store main :is(.bsm-button, .bsm-text-link) svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bsm-app-store main .bsm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.bsm-app-store main .bsm-availability {
  margin-top: 22px;
  color: var(--bsm-muted);
  font-size: 13px;
  line-height: 1.6;
}

.bsm-app-store main .bsm-utility-links {
  display: flex;
  gap: 24px;
  margin-top: 10px;
}

.bsm-app-store main .bsm-utility-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bsm-muted);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(189, 201, 194, 0.45);
  text-underline-offset: 4px;
}

.bsm-app-store main .bsm-hero-previews {
  min-width: 0;
  margin: 0;
}

.bsm-app-store main .bsm-preview-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.bsm-app-store main .bsm-preview {
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(224, 244, 232, 0.25);
  border-radius: 20px;
  background: #030c07;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.05), 0 14px 36px rgba(0, 0, 0, 0.17);
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.bsm-app-store main .bsm-preview img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.bsm-app-store main .bsm-preview-result {
  margin-top: 34px;
}

.bsm-app-store main .bsm-hero-previews figcaption {
  margin-top: 20px;
  color: var(--bsm-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.bsm-app-store main .bsm-workflow {
  padding: clamp(72px, 8vw, 112px) 0;
  background: #f2f6f3;
  scroll-margin-top: 80px;
}

.bsm-app-store main .bsm-workflow-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.bsm-app-store main .bsm-workflow-copy {
  grid-column: 2;
  grid-row: 1;
}

.bsm-app-store main .bsm-section-intro {
  margin-top: 24px;
  color: #526058;
  font-size: 18px;
  line-height: 1.65;
}

.bsm-app-store main .bsm-steps {
  margin: 32px 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cbd7ce;
}

.bsm-app-store main .bsm-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid #cbd7ce;
}

.bsm-app-store main .bsm-steps li > span {
  padding-top: 3px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.bsm-app-store main .bsm-steps h3 {
  font-size: 20px;
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.bsm-app-store main .bsm-steps p {
  margin-top: 7px;
  color: #526058;
  font-size: 15px;
  line-height: 1.6;
}

.bsm-app-store main .bsm-marking-preview {
  grid-column: 1;
  grid-row: 1;
  width: min(310px, 100%);
  margin: 0 auto;
}

.bsm-app-store main .bsm-marking-preview figcaption {
  margin-top: 16px;
  color: #526058;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.bsm-app-store main .bsm-review-section {
  padding: clamp(72px, 8vw, 112px) 0;
  color: var(--bsm-text);
  background: #101a14;
}

.bsm-app-store main .bsm-section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}

.bsm-app-store main .bsm-section-heading p {
  max-width: 430px;
  color: var(--bsm-muted);
  font-size: 18px;
  line-height: 1.65;
}

.bsm-app-store main .bsm-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 7vw, 104px);
  max-width: 860px;
  margin: 0 auto;
}

.bsm-app-store main .bsm-review-item {
  min-width: 0;
  margin: 0;
}

.bsm-app-store main .bsm-review-item .bsm-preview {
  max-width: 330px;
  margin-inline: auto;
}

.bsm-app-store main .bsm-review-item figcaption {
  padding-top: 24px;
}

.bsm-app-store main .bsm-review-item h3 {
  font-size: 22px;
  font-weight: 610;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.bsm-app-store main .bsm-review-item p {
  margin-top: 12px;
  color: var(--bsm-muted);
  font-size: 16px;
  line-height: 1.65;
}

.bsm-app-store main .bsm-source-note {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--bsm-line);
  color: var(--bsm-muted);
  font-size: 13px;
  line-height: 1.6;
}

.bsm-app-store main .bsm-source-note a {
  text-underline-offset: 3px;
}

.bsm-app-store main .bsm-builder-section {
  padding: clamp(72px, 8vw, 112px) 0 0;
  background: var(--bsm-paper);
}

.bsm-app-store main .bsm-builder-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  padding-bottom: clamp(52px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
}

.bsm-app-store main .bsm-builder-layout .bsm-text-link {
  margin-top: 24px;
  color: var(--blue);
}

.bsm-app-store main .bsm-builder-copy p {
  color: #46524b;
  font-size: 18px;
  line-height: 1.7;
}

.bsm-app-store main .bsm-builder-copy p + p {
  margin-top: 22px;
}

.bsm-app-store main .bsm-builder-copy strong {
  color: var(--ink);
  font-weight: 620;
}

.bsm-app-store main .bsm-builder-copy .bsm-privacy-note {
  color: #59665e;
  font-size: 15px;
}

.bsm-app-store main .bsm-download-section {
  padding: 48px 0 clamp(64px, 8vw, 100px);
  background: var(--bsm-paper);
}

.bsm-app-store main .bsm-download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px 32px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  color: var(--bsm-text);
  background: linear-gradient(135deg, #1d382b, #11281c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px rgba(15, 41, 27, 0.18), 0 18px 40px rgba(12, 34, 22, 0.11);
}

.bsm-app-store main .bsm-download-copy {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.bsm-app-store main .bsm-download-copy > img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 17px;
}

.bsm-app-store main .bsm-download-copy h2 {
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.bsm-app-store main .bsm-download-copy p {
  margin-top: 10px;
  color: var(--bsm-muted);
  font-size: 14px;
  line-height: 1.5;
}

.bsm-app-store main .bsm-download-links {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--bsm-line);
  color: var(--bsm-muted);
  font-size: 13px;
  line-height: 1.5;
}

.bsm-app-store main .bsm-download-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.bsm-app-store main .bsm-download-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.bsm-app-store main :is(a, .bsm-preview-pair):focus-visible {
  outline: 3px solid var(--bsm-gold);
  outline-offset: 5px;
}

.bsm-app-store main :is(.bsm-workflow, .bsm-builder-section) a:focus-visible {
  outline-color: var(--blue);
}

@media (hover: hover) and (pointer: fine) {
  .bsm-app-store main .bsm-preview:hover {
    border-color: rgba(224, 244, 232, 0.68);
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.1), 0 20px 44px rgba(0, 0, 0, 0.24);
  }

  .bsm-app-store main .bsm-button:hover {
    background: #fff;
    box-shadow: inset 0 1px 0 #fff, 0 5px 18px rgba(0, 0, 0, 0.15);
  }

  .bsm-app-store main :is(.bsm-text-link, .bsm-download-links a):hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (max-width: 1000px) {
  .bsm-app-store main .bsm-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .bsm-app-store main .bsm-hero-copy {
    max-width: 700px;
    padding-bottom: 0;
  }

  .bsm-app-store main .bsm-intro {
    max-width: 570px;
  }

  .bsm-app-store main .bsm-hero-previews {
    width: min(590px, 100%);
    margin-inline: auto;
  }

  .bsm-app-store main .bsm-download-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .bsm-app-store main .bsm-download-panel > .bsm-button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .bsm-app-store main .bsm-wrap {
    width: calc(100% - 40px);
  }

  .bsm-app-store main :is(.bsm-workflow-layout, .bsm-builder-layout, .bsm-section-heading) {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .bsm-app-store main .bsm-workflow-copy,
  .bsm-app-store main .bsm-marking-preview {
    grid-column: 1;
    grid-row: auto;
  }

  .bsm-app-store main .bsm-section-heading {
    margin-bottom: 36px;
    gap: 18px;
  }

  .bsm-app-store main .bsm-builder-copy p {
    font-size: 17px;
  }

  .bsm-app-store main .bsm-review-grid {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .bsm-app-store main .bsm-hero {
    padding-top: 116px;
    padding-bottom: 40px;
  }

  .bsm-app-store main .bsm-intro {
    font-size: 17px;
  }

  .bsm-app-store main .bsm-preview-pair {
    grid-template-columns: repeat(2, minmax(0, 82%));
    gap: 14px;
    overflow-x: auto;
    padding: 6px 6px 16px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #8da599 #182b21;
  }

  .bsm-app-store main .bsm-preview-pair .bsm-preview {
    scroll-snap-align: start;
  }

  .bsm-app-store main .bsm-preview-result {
    margin-top: 0;
  }

  .bsm-app-store main .bsm-hero-previews figcaption {
    text-align: left;
    margin-top: 12px;
  }

  .bsm-app-store main .bsm-review-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    max-width: 350px;
  }

  .bsm-app-store main .bsm-review-item figcaption {
    padding-top: 20px;
  }

  .bsm-app-store main .bsm-download-panel {
    padding: 26px 22px 18px;
    gap: 24px;
  }

  .bsm-app-store main .bsm-download-copy {
    align-items: flex-start;
    gap: 16px;
  }

  .bsm-app-store main .bsm-download-copy > img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 12px;
  }

  .bsm-app-store main .bsm-download-links {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsm-app-store main :is(.bsm-preview, .bsm-button) {
    transition: none;
  }

  .bsm-app-store main .bsm-preview-pair {
    scroll-snap-type: none;
  }
}
