/* Store download buttons — generated by tools/store-buttons.mjs from stores.json.
   Live: solid in the app's accent (--store-accent) and links to the listing.
   Soon: muted dashed outline, not a link. */

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 20px 8px 16px;
  border-radius: 14px;
  font-family: var(--font-body);
  text-decoration: none;
  text-align: left;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-btn__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.store-btn__store {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-btn--live {
  background: var(--store-accent, #1c1917);
  border: 1px solid var(--store-accent, #1c1917);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.store-btn--live:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.06);
}

.store-btn--live svg {
  fill: #ffffff;
}

.store-btn--soon {
  background: var(--surface, #ffffff);
  border: 1px dashed var(--muted2, #9c9490);
  color: var(--muted, #6b6560);
  cursor: default;
}

.store-btn--soon svg {
  fill: var(--muted2, #9c9490);
}

.store-buttons--cta .store-btn {
  min-height: 56px;
}

@media (max-width: 420px) {
  .store-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* "Also on iPhone" card on web tool pages (tools/store-buttons.mjs, from config/tools "app").
   Quiet by design: below the calculator, before the FAQ. Button inverts with the theme. */
.iphone-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.iphone-card__text {
  flex: 1 1 280px;
  min-width: 0;
}

.iphone-card__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.iphone-card__name {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
  color: var(--text);
}

.iphone-card__text p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.iphone-card .store-btn--live {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.iphone-card .store-btn--live svg {
  fill: var(--bg);
}
