.link-underline {
  display: inline;
  font-family: var(--font-text);
  font-weight: 500;
  color: var(--color-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.25s ease;
}

.link-underline:hover,
.link-underline:focus-visible {
  background-size: 100% 1px;
  outline: none;
}

.link-underline--muted {
  opacity: 0.85;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-paper);
  background: var(--color-ink);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-pill:hover,
.btn-pill:focus-visible {
  opacity: 0.88;
  outline: none;
}

.app-store-badge {
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  opacity: 0.88;
  outline: none;
}

.app-store-badge img,
.app-store-badge svg {
  display: block;
  width: 100%;
  height: auto;
}

.app-store-badge--hero {
  width: 220px;
}

.app-store-badge--footer {
  width: 140px;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: none;
  background: var(--color-divider);
}

.facts-strip {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-ink-subtle);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.facts-strip--center {
  text-align: center;
}

.facts-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 767px) {
  .facts-table {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.facts-table__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-subtle);
}

.facts-table__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--font-weight-display-light);
  line-height: 1.2;
  color: var(--color-ink);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-divider);
}

.bullet-list__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-divider);
}

.bullet-list__item:last-child {
  border-bottom: none;
}

.bullet-list__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-ink-muted);
}

.bullet-list__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.bullet-list__text {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-ink);
}

.trust-strip {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-subtle);
}

.dot-sep::before {
  content: "·";
  margin-right: 0.75rem;
}

.dot-sep:first-child::before {
  content: none;
}

/* iPhone mockups */
.iphone-mockup {
  --iphone-radius-outer: 2.75rem;
  --iphone-bezel: 0.42rem;
  --iphone-radius-inner: calc(var(--iphone-radius-outer) - var(--iphone-bezel));
}

.iphone-mockup__bezel {
  border-radius: var(--iphone-radius-outer);
  padding: var(--iphone-bezel);
  background: linear-gradient(
    152deg,
    #5c5c5e 0%,
    #3a3a3c 18%,
    #1d1d1f 42%,
    #2e2e30 58%,
    #252527 78%,
    #1c1c1e 100%
  );
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 1px rgba(0, 0, 0, 0.5);
}

.iphone-mockup__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: var(--iphone-radius-inner);
  overflow: hidden;
  background: #000;
}

.iphone-mockup__notch {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 1.5rem;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
  pointer-events: none;
}

.iphone-mockup__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Simple iPhone frame for hero mockups (no baked-in frame in images) */
.iphone-frame {
  position: relative;
  padding: 14px 12px;
  background: #1a1a1a;
  border-radius: 44px;
  display: block;
  box-sizing: border-box;
  width: 100%;
}

.iphone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.iphone-frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 12px;
  z-index: 2;
}

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px dashed rgba(0, 9, 18, 0.2);
  background: rgba(0, 9, 18, 0.03);
  color: var(--color-ink-subtle);
  font-size: 0.875rem;
  text-align: center;
}

.media-placeholder.is-hidden {
  display: none;
}
